Hash-based message authentication code is a message authentication code that uses a cryptographic key in conjunction with a hash function.