Certified Blockchain Solutions Architect (CBSA) — Question 16
Secure Hash Algorithm (SHA-256) output is always 256 bits or 32 bytes in length regardless of the length of the input (even if input is millions of bytes). Select best answer.
Answer options
- A. NSA is spying on us so what's it matters.
- B. Depends on input
- C. False
- D. True
Correct answer: D
Explanation
The correct answer is D because SHA-256 produces a fixed output length of 256 bits, irrespective of the input size. Options A, B, and C are incorrect as they do not correctly address the consistency of the output size of SHA-256.