AUTHENTICATION_MODE_ENCRYPT_AND_MAC
AUTHENTICATION_MODE_ENCRYPT_AND_MAC
The Encrypt-and-MAC (E&M) authenticated encryption mode representation.
Interface AuthenticatedEncryptionInterface - Interface specification for authenticated encryption.
authenticatedEncryptData(string $plainData) : \CryptoManana\DataStructures\AuthenticatedCipherData
Encrypts and authenticates the given plain data.
string | $plainData | The plain input string. |
Validation errors.
The authenticated cipher data object.
authenticatedDecryptData(\CryptoManana\DataStructures\AuthenticatedCipherData $authenticatedCipherData) : string
Decrypts and authenticates the given cipher data.
\CryptoManana\DataStructures\AuthenticatedCipherData | $authenticatedCipherData | The authenticated cipher data object. |
Validation errors.
The plain data information.