nerdexam
CompTIA

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.

General security concepts

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)
  • A
    3% (1)
  • C
    6% (2)
  • D
    92% (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.

ARIPEMD

RIPEMD is a cryptographic hash function that provides integrity checking only and does not incorporate a shared secret for authentication.

BMD5

MD5 is a hashing algorithm that can verify integrity but does not use a shared secret and is not designed to provide message authenticity.

CSHA

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.

DHMACCorrect

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

#HMAC#message authentication code#integrity#shared secret

Community Discussion

No community discussion yet for this question.

Full SY0-301 Practice