SY0-301 · Question #606
Which of the following MUST Matt, a security administrator, implement to verify both the integrity and authenticity of a message while requiring a shared secret?
The correct answer is D. HMAC. HMAC (Hash-based Message Authentication Code) is the mechanism that provides both message integrity and authenticity using a shared secret key.
Question
Which of the following MUST Matt, a security administrator, implement to verify both the integrity and authenticity of a message while requiring a shared secret?
Options
- ARIPEMD
- BMD5
- CSHA
- DHMAC
How the community answered
(36 responses)- A3% (1)
- C6% (2)
- D92% (33)
Why each option
HMAC (Hash-based Message Authentication Code) is the mechanism that provides both message integrity and authenticity using a shared secret key.
RIPEMD is a cryptographic hash function that provides integrity checking only and does not incorporate a shared secret for authentication.
MD5 is a hashing algorithm that can verify integrity but does not use a shared secret and is not designed to provide message authenticity.
SHA is a family of hash algorithms that checks integrity but, like MD5, does not use a shared secret and cannot verify the identity of the sender.
HMAC combines a cryptographic hash function with a shared secret key, producing a message authentication code that verifies both that the message has not been altered (integrity) and that it came from a party holding the shared secret (authenticity). Neither party can verify the MAC without possessing the shared secret, satisfying both requirements simultaneously.
Concept tested: HMAC for message integrity and authenticity with shared secret
Source: https://csrc.nist.gov/publications/detail/fips/198/1/final
Topics
Community Discussion
No community discussion yet for this question.