OWASP Password Storage Cheat Sheet
Official docs outline
- Hashing vs Encryption
Why passwords are hashed rather than encrypted.
- When Password Hashes Can Be Cracked
Offline cracking, GPU attacks and rainbow tables.
- Salting
Unique per-password salts.
- Peppering
Secret pepper stored outside the database.
- Work Factors
Tuning iteration and cost parameters.
- Argon2id
Argon2id recommended memory, iteration and parallelism settings.
- scrypt
scrypt cost parameters.
- bcrypt
bcrypt work factor and 72-byte limit.
- PBKDF2
PBKDF2 iteration counts for FIPS-compliant environments.
- Upgrading Legacy Hashes
Migrating from weak hashes to modern algorithms.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.