312-50V11 · Question #119
Which of the following Secure Hashing Algorithm (SHA) produces a 160-bit digest from a message with a maximum length of (264-1) bits and resembles the MD5 algorithm?
The correct answer is C. SHA-1. SHA-1 is the SHA variant that produces a 160-bit message digest, accepts input up to 2^64-1 bits in length, and shares structural similarities with MD4/MD5.
Question
Which of the following Secure Hashing Algorithm (SHA) produces a 160-bit digest from a message with a maximum length of (264-1) bits and resembles the MD5 algorithm?
Options
- ASHA-2
- BSHA-3
- CSHA-1
- DSHA-0
How the community answered
(30 responses)- B3% (1)
- C93% (28)
- D3% (1)
Why each option
SHA-1 is the SHA variant that produces a 160-bit message digest, accepts input up to 2^64-1 bits in length, and shares structural similarities with MD4/MD5.
SHA-2 is a family of functions (SHA-224, SHA-256, SHA-384, SHA-512) producing digests from 224 to 512 bits, none of which are 160 bits.
SHA-3 uses a completely different sponge construction (Keccak algorithm) and does not resemble MD5 in its internal design.
SHA-1 was designed by the NSA and published in 1995, producing a fixed 160-bit (20-byte) digest. It processes messages in 512-bit blocks, accepts input up to 2^64-1 bits, and uses similar Merkle-Damgard construction and bitwise operations as MD5, which is why it is described as resembling MD5.
SHA-0 was the original 1993 release that also produced a 160-bit digest but was immediately withdrawn due to a flaw, and it predates and differs slightly from SHA-1 in its message schedule.
Concept tested: SHA-1 hash output size and MD5 resemblance
Source: https://csrc.nist.gov/publications/detail/fips/180/4/final
Topics
Community Discussion
No community discussion yet for this question.