Zend_Crypt_Hmac::compute
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.
Signature
public function compute(string
$key,
string
$hash,
string
$data,
[string
$output = self::STRING] )
Parameters
$key
— string$hash
— string$data
— string$output
— string
Returns
- string