System Design · Junior · Question 74 of 75
How should user passwords be stored?
- ✓Correct answer: As slow, salted hashes (e.g. Argon2, bcrypt), never in plain text or with fast hashes like MD5
- 2Encrypted with a key stored next to them
- 3In plain text in a protected table
Explanation
Slow hashing makes brute-forcing leaked hashes expensive; unique salts stop precomputed table attacks.