Hash-based message authentication code (or HMAC) is a cryptographic authentication technique that uses:
- a hash function
- a secret key.
With HMAC, you can **achieve authentication and verify that data is correct and authentic with shared secrets**, as opposed to approaches that use signatures and asymmetric cryptography
![[Pasted image 20220919115131.png]]