Keyed-hash MAC (HMAC)

The Keyed-Hash Message Authentication Code (HMAC) standard (FIPS PUB 198-1) describes a mechanism for message authentication using cryptographic hash functions.

HMAC can be used with a hash function in combination with a shared secret key.

To see how to compute a MAC over the data, see FIPS PUB 198-1 available at:
https://csrc.nist.gov/publications/detail/fips/198/1/final