Intermediate Cybersecurity & Cryptography
Q48 / 100

What is the purpose of HMAC?

Correct! Well done.

Incorrect.

The correct answer is A) Hash-based Message Authentication Code — using a key with a hash function to authenticate both message integrity and sender identity

A

Correct Answer

Hash-based Message Authentication Code — using a key with a hash function to authenticate both message integrity and sender identity

Explanation

HMAC(K, M) = H(K ⊕ opad || H(K ⊕ ipad || M)). It requires a shared secret key, providing both integrity and authentication. Used in JWT signatures (HS256), TLS, and API authentication.

Progress
48/100