GenerateHMAC

To generate a MAC (message authentication code) using a cryptographic hash algorithm and a secret cryptographic key.

Properties

Data

The input data for which the hash will be calculated.

Hash algorithm

The algorithm to use when computing the hash. Possible values are: MD5, RIPEMD160, SHA1, SHA256, SHA384 or SHA512.

Key

The secret key in List or Base64 string.


Definition

The HMAC in the form of a list of bytes and as a Base64 string.


Wikipedia: HMAC