How should passwords be stored?
Passwords are stored as slow, salted hashes so a leaked database can't be reversed quickly. OWASP recommends Argon2id first, then scrypt, with bcrypt for legacy systems and PBKDF2 where FIPS-140 is required.
This tester produces hashes in the PHC string format ($argon2id$v=19$m=…,t=…,p=…$salt$hash) and bcrypt's $2b$ format, verifies a password against a stored hash, and flags work factors below the OWASP minimums.
How to use this tool
- Pick an algorithm; the parameters start at OWASP's minimum.
- Enter a password and click Hash to see the stored form and how long it took.
- Paste any stored hash and a password, then Verify to check the match and the parameters.
Frequently asked questions
Is my password sent to stbox?
No. Hashing and verification run in your browser; nothing is sent or saved.
What are the OWASP minimums?
Argon2id with 19 MiB memory and 2 iterations, scrypt with N=2^17, r=8, p=1, bcrypt cost 10, and PBKDF2-HMAC-SHA256 with 600,000 iterations (210,000 for SHA-512).
Why does bcrypt warn about long passwords?
bcrypt only uses the first 72 bytes of the password, so longer passwords that share a prefix produce the same hash.