Fix password storage

Not solved

Passwords are stored as unsalted MD5. Replace it with a salted, slow key-derivation function and a constant-time check.

Level
Practitioner
Estimated time
~25 min
Points
0/70 pts
Questions
0/0 answered
OWASP
A04:2025
OWASP
A07:2025
CWE
CWE-916
CWE
CWE-759
passwords.js
Test results

Run the tests to check your code. It runs on the server in an isolated sandbox with no network access.