nerdexam
EC-Council

312-50V11 · Question #387

Which of the following can take an arbitrary length of input and produce a message digest output of 160 bit?

The correct answer is A. SHA-1. SHA-1 is a cryptographic hash function that always produces a fixed 160-bit (20-byte) message digest regardless of the input length.

Cryptography

Question

Which of the following can take an arbitrary length of input and produce a message digest output of 160 bit?

Options

  • ASHA-1
  • BMD5
  • CHAVAL
  • DMD4

How the community answered

(38 responses)
  • A
    89% (34)
  • B
    3% (1)
  • C
    3% (1)
  • D
    5% (2)

Why each option

SHA-1 is a cryptographic hash function that always produces a fixed 160-bit (20-byte) message digest regardless of the input length.

ASHA-1Correct

SHA-1 (Secure Hash Algorithm 1) was designed by NIST and produces a deterministic 160-bit hash output from any arbitrary-length input. This 160-bit output size is a defining characteristic that distinguishes SHA-1 from MD-family algorithms. The algorithm processes input in 512-bit blocks and always yields exactly 160 bits.

BMD5

MD5 produces a 128-bit (16-byte) message digest, not 160 bits.

CHAVAL

HAVAL is a variable-length hash function that can produce outputs of 128, 160, 192, 224, or 256 bits depending on configuration, so 160-bit is not its fixed or defining output.

DMD4

MD4 produces a 128-bit message digest, not 160 bits.

Concept tested: SHA-1 hash algorithm 160-bit output

Source: https://csrc.nist.gov/publications/detail/fips/180/4/final

Topics

#SHA-1#message digest#hash function#160-bit output

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice