crypto_hmac_sha1()#
Syntax
crypto_hmac_sha1( value, key, output_format, output)
Returns#
returns: 1 on success, 0 on failure (including OpenSSL not being available)
Parameters#
Parameter | Description |
---|---|
value |
value to hash by reference |
key |
key to use to calculate the hmac |
output_format |
‘hex’ or ‘binary’ |
output |
hmac_sha1 hash value. |