Multiple choice technology architecture

Which of the following encryption is better suited for storing the passwords ?

  1. SHA

  2. AES

  3. 3DES

  4. RSA

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

SHA is correct because it's a cryptographic hash function, which is the proper way to store passwords. Passwords should be hashed (one-way), not encrypted (two-way). AES, 3DES, and RSA are encryption algorithms that can be reversed with the right key, making them unsuitable for secure password storage. If a database is compromised, encrypted passwords can be decrypted.