Skip to content
Skills
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Home
/
Backend Developer
/
Easy
/
How to store passwords
easy
5 pts · first answer counts
security
authentication
How to store passwords
How should a backend store user passwords in the database?
Choose one answer
A.
Encrypt them with AES so support staff can recover them if needed
B.
Hash them with a slow, salted algorithm such as bcrypt or Argon2
C.
Hash them once with SHA-256 for speed
D.
Store them in plain text in a column only admins can read
Submit answer
Report a problem
← Stopping SQL injection
Purpose of a database index →