Passwords must be stored securely — never in plaintext, but hashed with a strong, slow, salted password-hashing algorithm (bcrypt, Argon2, scrypt). Proper password handling is critical because password breaches are extremely damaging and common.
Never store plaintext; hash properly
❌ NEVER store passwords in plaintext (a breach exposes all passwords directly)
❌ Don't use fast/general hashes (MD5, SHA-256) alone — too fast → easily brute-forced
✅ HASH with a dedicated PASSWORD HASHING algorithm: BCRYPT, ARGON2, or scrypt:
→ SLOW by design (resistant to brute-force/GPU cracking)
→ SALTED (a unique random salt per password) → prevents rainbow-table attacks and
identical passwords hashing the same
