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.