Cyber Trainer Passwords & Auth
Passwords & Auth · Chapter 02

Strong passwords

Most of the password rules people learned at work (8 characters, a capital, a number, a symbol, change it every 90 days) turned out to make passwords weaker. Here's what actually works, and why.

Length beats complexity

An attacker who has stolen a password hash tries guesses until one matches (Chapter 04). How long that takes depends on the number of possible passwords, which grows with both the size of the character set and the length:

Character set26 to 95lowercase → all printable
^
Lengthnthe exponent
=
Possibilitiessetnwhat an attacker must search

Length is the exponent, so it wins. Tr0ub4dor&3 (11 characters, all four types) feels strong, but it's a dictionary word with predictable substitutions. lantern ferry cobalt orbit is easier to remember and far harder to guess.

Entropy in one sentenceEntropy, measured in bits, is the log₂ of the number of equally likely possibilities. Each extra bit doubles the attacker's work. It only counts if the choice was genuinely random; a human "random" choice is far more predictable than the maths suggests.

The current rules

NIST SP 800-63B Revision 4 (2025) and the UK's NCSC now broadly agree:

DoDon't
Require at least 15 characters when the password is the only factor (8 when it's combined with MFA).Force a mix of upper case, lower case, digits and symbols. People just write Password1!.
Allow long passwords (at least 64 characters), spaces and any characters.Force regular changes. People just go from Summer2025! to Autumn2025!. Change only if there's evidence of compromise.
Check new passwords against a blocklist of common and breached passwords.Use security questions or password hints. The answers are guessable or on social media.
Allow pasting, so password managers work.Truncate passwords or silently ignore characters.
Rate-limit failed attempts.Reuse a password on more than one site.

For people, the NCSC's advice is simple: use three random words (for example coffeetrainfish) for the few passwords you must remember, such as your email and password manager, use a password manager to generate unique passwords for everything else, and turn on 2-step verification.

How strong is a password?

This tester estimates how many guesses an attacker would need, looking for the patterns real cracking tools try first: common passwords, dictionary words, predictable substitutions, keyboard walks and dates.

Password strength tester

This is an estimate, like the tools password managers use. Real attackers also try your name, pets, teams and dates, which no tester can know about.

Generate a strong password

The best passwords aren't chosen by people at all. These generators use your browser's cryptographically secure random number generator, the same one used for encryption keys.

Passphrase generator

Random characters (for a password manager)

This page's word list has words, so each word adds about bits. Password managers use larger lists (the EFF list has 7,776 words, about 12.9 bits each), so their passphrases are stronger for the same number of words.

Has this password been in a breach?

Billions of real passwords have leaked, and attackers try them first. Troy Hunt's Pwned Passwords service (part of Have I Been Pwned) lets you check a password against them without sending the password, using a technique called k-anonymity:

  1. Your browser hashes the password with SHA-1.
  2. It sends only the first 5 characters of the hash.
  3. The service returns every breached hash starting with those 5 characters (usually several hundred).
  4. Your browser checks the list itself. The service never learns which hash, if any, was yours.
Safe breach check
Press "Check it" to see each step.
Practical tip. Many password managers (and Chrome, Edge, Firefox and Safari's built-in managers) run this same check on everything you've saved and warn you about breached or reused passwords.

Password managers

No one can remember a unique strong password for 100+ accounts. A password manager does it for you, which makes the "never reuse a password" rule practical. It also helps against phishing: it only autofills on the real site's address, so if it doesn't offer to fill, stop and check the address.

Built into your browser or phone

Apple Passwords, Google Password Manager, Microsoft Edge. Free, syncs between your devices, and supports passkeys.

Dedicated apps

Bitwarden, 1Password, Proton Pass, KeePassXC and others. Work across every browser and platform, with sharing and family features.

Protect the vault

Use a strong master passphrase (three or four random words) and turn on MFA for the password manager account itself.

"Isn't putting all your eggs in one basket risky?"A little, but much less than reusing passwords. Reputable managers encrypt the vault on your device with a key derived from your master password, so even the provider can't read it. When LastPass was breached in 2022, users with strong master passwords were far better protected than users with weak ones.

Knowledge check