Encryption interface

 Methods

Decrypts $value with the defined settings

decrypt(string $value) : string

Parameters

$value

string

Data to decrypt

Returns

stringThe decrypted data

Encrypts $value with the defined settings

encrypt(string $value) : string

Parameters

$value

string

Data to encrypt

Returns

stringThe encrypted data

Return the adapter name

toString() : string

Returns

string