pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
__construct ($key) | |
![]() | |
compute ($seqno, $data) | |
Static Public Member Functions | |
static | getKeySize () |
static | getName () |
Return the name of the algorithm. | |
static | getSize () |
![]() | |
static | isAvailable () |
Additional Inherited Members | |
![]() | |
$key | |
Integrity key. | |
$umac | |
Underlying UMAC implementation. | |
|
final |
Construct a new MAC algorithm.
string | $key | Key for the MAC algorithm. |
Implements fpoirotte\Pssht\MAC\MACInterface.
Definition at line 19 of file Len64.php.
References fpoirotte\Pssht\MAC\OpensshCom\UMAC\Base\$key.
|
staticfinal |
Get the size of a key compatible with this MAC algorithm.
int | MAC key size in bytes. |
Implements fpoirotte\Pssht\MAC\MACInterface.
|
staticfinal |
Get the size of a MAC signature generated with this algorithm.
int | MAC size in bytes. |
Implements fpoirotte\Pssht\MAC\MACInterface.