crypto_hmac_sha256()#
Syntax
crypto_hmac_sha256( buffer var, key, format, result var )
Returns#
Returns 1 on success, 0 on error or if on an unsuported platform.
Parameters#
Parameter | Description |
---|---|
buffer |
value to hash |
key |
binary key to use to calculate the hmac |
format |
“binary” or “hex” |
result |
a variable used to store the results. |