312-50V9 · Question #420
Which of the following algorithms provides better protection against brute force attacks by using a 160-bit message digest?
The correct answer is B. SHA-1. SHA-1 produces a 160-bit message digest, making it more resistant to brute force attacks than its predecessors MD4 and MD5, which only produce 128-bit digests.
Question
Which of the following algorithms provides better protection against brute force attacks by using a 160-bit message digest?
Options
- AMD5
- BSHA-1
- CRC4
- DMD4
How the community answered
(38 responses)- A5% (2)
- B89% (34)
- C3% (1)
- D3% (1)
Why each option
SHA-1 produces a 160-bit message digest, making it more resistant to brute force attacks than its predecessors MD4 and MD5, which only produce 128-bit digests.
MD5 produces only a 128-bit message digest, which is smaller than SHA-1's 160-bit output and therefore less resistant to brute force and collision attacks.
SHA-1 (Secure Hash Algorithm 1) generates a 160-bit message digest, which provides a significantly larger output space than 128-bit algorithms. The larger digest size means an attacker must search a much larger space to find a collision or preimage, increasing brute force resistance. It was designed by NIST as an improvement over MD5 specifically for stronger cryptographic integrity.
RC4 is a symmetric stream cipher used for encryption, not a hashing algorithm, so it does not produce a message digest of any bit length.
MD4 is the predecessor to MD5 and also produces a 128-bit message digest, making it weaker than SHA-1 and not the correct answer.
Concept tested: SHA-1 hash output size and brute force resistance
Source: https://csrc.nist.gov/publications/detail/fips/180/4/final
Topics
Community Discussion
No community discussion yet for this question.