Zend_Crypt_HmacPHP implementation of the RFC 2104 Hash based Message Authentication Code algorithm.
Located in /Crypt/Hmac.php (line 39)
Zend_Crypt | --Zend_Crypt_Hmac
static string
compute
(string $key, string $hash, string $data, [string $output = self::STRING], boolean $internal)
static string
$_hashAlgorithm
= 'md5' (line 62)
Hashing algorithm; can be the md5/sha1 functions or any algorithm name listed in the output of PHP 5.1.2+ hash_algos().
static string
$_key
= null (line 47)
The key to use for the hash
static string
$_packFormat
= null (line 54)
pack() format to be used for current hashing method
static array
$_supportedMhashAlgorithms
= array('adler32',' crc32', 'crc32b', 'gost',List of algorithms supported my mhash()
Inherited from Zend_Crypt
Zend_Crypt::$_supportedAlgosMhash
Zend_Crypt::$_supportedAlgosOpenssl
Zend_Crypt::$_type
static compute (line 91)
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.
static _getMhashDefinition (line 172)
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.
static _hash (line 146)
Perform HMAC and return the keyed data
static _setHashAlgorithm (line 113)
Setter for the hash method.
Inherited From Zend_Crypt
Zend_Crypt::hash()
Zend_Crypt::_detectHashSupport()
Zend_Crypt::_digestHash()
Zend_Crypt::_digestMhash()
Zend_Crypt::_digestOpenssl()
BINARY
= 'binary'
(line 77)
STRING
= 'string'
(line 76)
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