Skip to content

crypto_hmac_md5()#

Syntax
crypto_hmac_md5( value, key, output_format, output )

Returns#

Returns 1 on success, 0 on failure (including OpenSSL not being available).

Parameters#

Parameter Description
value The value to hash.
key The key to use to calculate the HMAC.
output_format 'hex' or 'binary'.
output [output] The HMAC-MD5 hash value.