PHP implementation of the RFC 2104 Hash based Message Authentication Code algorithm.
Located in /Crypt/Hmac.php (line 39)
Zend_Crypt | --Zend_Crypt_Hmac
Hashing algorithm; can be the md5/sha1 functions or any algorithm name listed in the output of PHP 5.1.2+ hash_algos().
The key to use for the hash
pack() format to be used for current hashing method
List of algorithms supported my mhash()
Inherited from Zend_Crypt
Zend_Crypt::$_supportedAlgosMhash
Zend_Crypt::$_supportedAlgosOpenssl
Zend_Crypt::$_type
Performs a HMAC computation given relevant details such as Key, Hashing algorithm, the data to compute MAC of, and an output format of String, Binary notation or BTWOC.
Since MHASH accepts an integer constant representing the hash algorithm we need to make a small detour to get the correct integer matching our algorithm's name.
Perform HMAC and return the keyed data
Setter for the hash method.
Inherited From Zend_Crypt
Zend_Crypt::hash()
Zend_Crypt::_detectHashSupport()
Zend_Crypt::_digestHash()
Zend_Crypt::_digestMhash()
Zend_Crypt::_digestOpenssl()
Constants representing the output mode of the hash algorithm
Inherited from Zend_Crypt
Zend_Crypt::TYPE_HASH
Zend_Crypt::TYPE_MHASH
Zend_Crypt::TYPE_OPENSSL
Documentation generated on Mon, 21 Jun 2010 15:26:48 -0400 by phpDocumentor 1.4.3