pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\Algorithms\AEAD\AEADInterface Interface Reference
+ Inheritance diagram for fpoirotte\Pssht\Algorithms\AEAD\AEADInterface:

Static Public Member Functions

static getSize ()
 
- Static Public Member Functions inherited from fpoirotte\Pssht\Encryption\EncryptionInterface
static getBlockSize ()
 
static getIVSize ()
 
static getKeySize ()
 
- Static Public Member Functions inherited from fpoirotte\Pssht\Algorithms\AlgorithmInterface
static getName ()
 Return the name of the algorithm.
 

Additional Inherited Members

- Public Member Functions inherited from fpoirotte\Pssht\Encryption\EncryptionInterface
 __construct ($iv, $key)
 
 decrypt ($seqno, $data)
 
 encrypt ($seqno, $data)
 

Detailed Description

Interface for Authenticated Encryption with Additional Data.

Definition at line 17 of file AEADInterface.php.

Member Function Documentation

static fpoirotte\Pssht\Algorithms\AEAD\AEADInterface::getSize ( )
static

Get the size of an Authentication Tag generated with this algorithm.

Return values
intAT size in bytes.

Implemented in fpoirotte\Pssht\Encryption\OpensshCom\AES128GCM, and fpoirotte\Pssht\Encryption\OpensshCom\ChaCha20Poly1305.


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