In Introduction to Cryptographic Hash Functions for the Working Developer, I presented a straight to the point, overview of some essential things a developer should know about cryptographic hash functions.
This post continues in the theme around hash functions, by taking a look at another cryptographic construction hash functions make possible, that is: Message Authentication Codes (MACs).
It is worth quoting Bruce schneier again:
Much more than encryption algorithms, one-way hash functions are the workhouses of modern cryptography
Because Message Authentication Code based on hash functions is a perfect demonstration of how crucial hash functions are.
This post contains the following sections:
- Why Hash Functions alone are not enough
- What is Message Authentication Code
- What is a Hash Based Authentication Code (HMAC)
- What is a Keccak Based Authentication Code (KMAC)
- Some real world applications of Message Authentication Code