You are here

public static function KeyWrapperInterface::reencrypt in Lockr 7.2

Same name and namespace in other branches
  1. 7.3 vendor/lockr/lockr/src/KeyWrapper/KeyWrapperInterface.php \Lockr\KeyWrapper\KeyWrapperInterface::reencrypt()

Encrypt the given plaintext using the same initial state as defined by encoded.

Parameters

string $plaintext:

string $encoded:

Return value

array

4 methods override KeyWrapperInterface::reencrypt()
LockrAes128CtrSha256KeyWrapper::reencrypt in vendor/lockr/lockr-client/src/KeyWrapper/LockrAes128CtrSha256KeyWrapper.php
Encrypt the given plaintext using the same initial state as defined by encoded.
LockrAes256CbcSha256KeyWrapper::reencrypt in vendor/lockr/lockr-client/src/KeyWrapper/LockrAes256CbcSha256KeyWrapper.php
Encrypt the given plaintext using the same initial state as defined by encoded.
LockrAesCbcKeyWrapper::reencrypt in vendor/lockr/lockr-client/src/KeyWrapper/LockrAesCbcKeyWrapper.php
Encrypt the given plaintext using the same initial state as defined by encoded.
MultiKeyWrapper::reencrypt in vendor/lockr/lockr-client/src/KeyWrapper/MultiKeyWrapper.php
Encrypt the given plaintext using the same initial state as defined by encoded.

File

vendor/lockr/lockr-client/src/KeyWrapper/KeyWrapperInterface.php, line 21

Class

KeyWrapperInterface

Namespace

Lockr\KeyWrapper

Code

public static function reencrypt($plaintext, $encoded);