What is the fixed output digest length produced by the secure cryptographic hash algorithm SHA-256?

Answer and explanation

Correct answer: B. 256 bits

  1. Step 1: The SHA-2 family includes SHA-224, SHA-256, SHA-384, and SHA-512, where the numeric suffix indicates the digest length in bits. Step 2. SHA-256 takes arbitrary-length input data and generates a deterministic, collision-resistant 256-bit (32-byte) message digest. Answer: 256 bits. Why not the others: 128 bits is the output hash length of MD5; 160 bits is the hash length produced by SHA-1; 512 bits is generated by SHA-512.

Practise more Computer Systems, Networking and ICT.

Free questions with an explanation for every one, and full timed Bangladesh Civil Service Preliminary Examination mock tests.