Most "strong password" advice is outdated. What actually matters in 2026:
1. Length beats complexity
A 16+ character random password is stronger than an 8-character one full of symbols. Entropy grows with length: each extra character multiplies the search space.
2. Randomness must come from a CSPRNG
Math.random() is predictable. Use crypto.getRandomValues() in browsers or secrets in Python. A generator that runs locally and uses Web Crypto is fine.
3. Uniqueness matters more than strength
Reusing one strong password across sites means one breach exposes everything. Use a password manager and a unique password per site.
4. Passphrases are great for things you must type
Four or five random words (diceware style) give about 50-65 bits of entropy and are easy to remember.
5. Don't force periodic rotation
NIST guidance now recommends against forced rotation unless there's evidence of compromise; it pushes people into predictable patterns like Summer2026!.
6. Turn on MFA
Passkeys or TOTP protect you even when a password leaks.
7. Never generate passwords on a site that sends them to a server
You can't verify what happens to the value. Use a generator that runs entirely in your browser, like this Password Generator which uses the Web Crypto API locally.
Disclosure: I built WebDevToolbox, a free collection of 500+ browser-based dev tools.
Top comments (0)