HMAC: Hash-based Message Authentication Code or Hash-based MAC
MAC # signature or cryptographic checksum
MAC | https://www.youtube.com/watch?v=DiLPn_ldAAQ&ab_channel=IntroductiontoCryptographybyChristofPaar |
---|---|
Arbitrary Input length | |
Fix output length | |
HMAC | Integrity and Authentication |
---|---|
2 stage Hashing ( XOR ) with 2 different key ( ipad and ... ) | https://www.youtube.com/watch?v=wlSG3pEiQdc&ab_channel=Computerphile |
Sender ( Data + pre-shared Key ) > hash>> HASH1 send: Data + Hash1 | Receiver: ( Data + preshared key) Data > hash> Hash2 Compare Hash2 wit rx Hash1 |