CompTIA Security Plus Mock Test Q438

Matt, a forensic analyst, wants to obtain the digital fingerprint for a given message. The message is 160-bits long. Which of the following hashing methods would Matt have to use to obtain this digital fingerprint?

A. SHA1
B. MD2
C. MD4
D. MD5

Correct Answer: A
Section: Compliance and Operational Security

Explanation:
The Secure Hash Algorithm (SHA) was designed to ensure the integrity of a message. SHA is a one-way hash that provides a hash value that can be used with an encryption protocol. This algorithm produces a 160-bit hash value. SHA (1 or 2) is preferred over Message Digest Algorithm.

Incorrect Answers:
B: The Message Digest Algorithm (MD) also creates a hash value and uses a one-way hash. It produces a 128-bit hash.
C: MD4 is another version of the Message Digest Algorithm and produces a 128-bit hash.
D: MD5 is another version of the Message Digest Algorithm and produces a 128-bit hash.

References:
Dulaney, Emmett and Chuck Eastton, CompTIA Security+ Study Guide, 6th Edition, Sybex, Indianapolis, 2014, pp. 255-356