What is the Difference between a Hash and MAC (Message Authentication code)?

后端 未结 7 490
忘了有多久
忘了有多久 2020-12-12 13:35

What is the Difference between a Hash and MAC (Message Authentication code)?

By their definitions they seem to serve the same function.

Can someone explain w

相关标签:
7条回答
  • 2020-12-12 14:29

    HASH FUNCTION: A function that maps a message of any length into a fixed length hash value, which serves as the authenticator.

    MAC: A function of the message and a secret key that produces a fixed length value that serves as the authenticator.

    0 讨论(0)
提交回复
热议问题