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

Static Public Member Functions

static getHash ()
 

Detailed Description

Interface for the hashing algorithm to use for MAC purposes.

Definition at line 18 of file BaseInterface.php.

Member Function Documentation

static fpoirotte\Pssht\MAC\BaseInterface::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().

Implemented in fpoirotte\Pssht\MAC\SHA2\Len256, fpoirotte\Pssht\MAC\SHA2\Len512, fpoirotte\Pssht\MAC\MD5, fpoirotte\Pssht\MAC\RIPEMD160, and fpoirotte\Pssht\MAC\SHA1.


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