cryptal  latest
Cryptography Abstraction Layer
fpoirotte\Cryptal\AsymmetricModeInterface Interface Reference
+ Inheritance diagram for fpoirotte\Cryptal\AsymmetricModeInterface:

Public Member Functions

 decrypt ($data, $context)
 
- Public Member Functions inherited from fpoirotte\Cryptal\SymmetricModeInterface
 __construct (CryptoInterface $impl, $iv, $tagLength)
 
 encrypt ($data, $context)
 

Detailed Description

Encryption/decryption mode where the primitives for encryption and decryption are different.

Definition at line 11 of file AsymmetricModeInterface.php.

Member Function Documentation

fpoirotte\Cryptal\AsymmetricModeInterface::decrypt (   $data,
  $context 
)

Decrypt some data.

Parameters
string$dataData to decrypt.
resource$contextStream context for the operation.

Implemented in fpoirotte\Cryptal\Modes\GCM, fpoirotte\Cryptal\Modes\CCM, fpoirotte\Cryptal\Modes\OCB, fpoirotte\Cryptal\Modes\EAX, fpoirotte\Cryptal\Modes\CBC, fpoirotte\Cryptal\Modes\CFB, and fpoirotte\Cryptal\Modes\ECB.


The documentation for this interface was generated from the following file: