MAC

From Crypto++ Wiki
Jump to navigation Jump to search

A MAC or Message Authentication Code provides authenticity assurances over a message.

HMAC and CMAC are two common MAC codes. An HMAC is based on a hash, and a CMAC is based on a block cipher.