Question 101
Consider the following statements about cryptography:
- SHA-256 is a cryptographic hash function producing a fixed 256-bit output.
- RSA can be used for both encryption and digital signatures.
- Hashing a password before storage is more secure than storing it in plaintext, even without salting (though salting is strongly preferred).
Which of the statements above are correct?
Main Solution
Answer
All three are correct. SHA-256 produces a 256-bit output; RSA supports both encryption and signatures; hashing (even unsalted) is strictly better than plaintext storage, although salting is still required for robust protection.
Answer: Correct: D
Answer images

