Skip to main content
1 of 2
curious
  • 6.3k
  • 6
  • 34
  • 48

A MAC is a general term describing message authentication code. That is a tag that will verify the integrity of your data. You will be able to say whether or not an attacker hash tampered with the data that you receive. One construction is HMAC and it uses a hash function as a basic building block. There is another way which is CBC-MAC and its improved version CMAC and is cased on block ciphers.

curious
  • 6.3k
  • 6
  • 34
  • 48