You are here

public static function KeyWrapperInterface::encrypt in Lockr 7.2

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

Encrypt the given plaintext.

Parameters

string $plaintext:

Return value

array

4 methods override KeyWrapperInterface::encrypt()
LockrAes128CtrSha256KeyWrapper::encrypt in vendor/lockr/lockr-client/src/KeyWrapper/LockrAes128CtrSha256KeyWrapper.php
Encrypt the given plaintext.
LockrAes256CbcSha256KeyWrapper::encrypt in vendor/lockr/lockr-client/src/KeyWrapper/LockrAes256CbcSha256KeyWrapper.php
Encrypt the given plaintext.
LockrAesCbcKeyWrapper::encrypt in vendor/lockr/lockr-client/src/KeyWrapper/LockrAesCbcKeyWrapper.php
Encrypt the given plaintext.
MultiKeyWrapper::encrypt in vendor/lockr/lockr-client/src/KeyWrapper/MultiKeyWrapper.php
Encrypt the given plaintext.

File

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

Class

KeyWrapperInterface

Namespace

Lockr\KeyWrapper

Code

public static function encrypt($plaintext);