← Quiz: Passwords and Authentication: all 10 questions
Quiz: Passwords and Authentication · Question 6 of 10
Why is encrypting passwords with AES worse than hashing them with a slow, salted hash?
Why is encrypting passwords with AES worse than hashing them with a slow, salted hash?
- A.AES is too slow for login
- B.Whoever gets the key can decrypt every password, and you never need to decrypt them
- C.AES output is too long to store
- D.AES cannot handle special characters
Answer & explanation
Correct answer: Whoever gets the key can decrypt every password, and you never need to decrypt them
To check a login you only compare hashes, so a reversible scheme adds risk for no benefit.
Can you get the rest right without peeking?
Take the timed Quiz: Passwords and Authentication quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →