pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\MAC\SHA1 Class Reference
+ Inheritance diagram for fpoirotte\Pssht\MAC\SHA1:

Static Public Member Functions

static getHash ()
 
static getName ()
 Return the name of the algorithm.
 
- Static Public Member Functions inherited from fpoirotte\Pssht\MAC\Base
static getKeySize ()
 
static getSize ()
 
static isAvailable ()
 

Additional Inherited Members

- Public Member Functions inherited from fpoirotte\Pssht\MAC\Base
 __construct ($key)
 
 compute ($seqno, $data)
 
- Protected Attributes inherited from fpoirotte\Pssht\MAC\Base
 $key
 Secret key for MAC operations.
 

Detailed Description

MAC generation using the SHA1 hashing algorithm.

Definition at line 17 of file SHA1.php.

Member Function Documentation

static fpoirotte\Pssht\MAC\SHA1::getHash ( )
static

Return the name of the hashing algorithm to use for MAC purposes.

Return values
stringHashing algorithm to use.
Note
The value returned by this method is the name of one of the algorithms listed by hash_algos().

Implements fpoirotte\Pssht\MAC\BaseInterface.

Definition at line 24 of file SHA1.php.


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