edubun
English
1 / 21

1 / 6 · Intermediate

Passwords and passkeys

Since July 2025 the US standard NIST SP 800-63B-4 has said a password used on its own must be at least 15 characters, and that services must not force you to change it on a schedule.

Jump to the 10 practice questions

You will learn

  • Say what makes a password strong today
  • Count how many guesses a password needs
  • Explain how a passkey signs you in

1Explain

"Summer2024!" ticks every box. So why is it weak?

Many people still believe a strong password needs a capital letter, a digit and a symbol, and that changing it every 90 days keeps it safe. Sign-up forms taught exactly that for years. Look at what the rules produced. "Summer2024!" meets all of them. Ninety days later it turns into "Autumn2024!", and anyone who saw the first one can guess the second. The rules made passwords harder to remember without making them much harder to guess.

2Problem

Every 90 days

What does NIST say about forcing a password change every 90 days?

Hint

Only when there is evidence of a compromise.

Solution

Answer: Services must not, unless there is evidence of compromise

Periodic changes led to predictable variations; NIST forbids them without cause.

3Problem

A forbidden rule

Which rule does NIST forbid services to impose?

Hint

"One capital, one digit, one symbol".

Solution

Answer: Requiring a mix of character types

Composition rules such as "one symbol" must not be imposed.

4Explain

What the 2025 US standard asks for instead

The current US guideline, NIST Special Publication 800-63B-4, finalised in July 2025, turns those habits around. A password used on its own must be at least 15 characters. If it is only one part of a multi-factor login, the minimum is 8. Services should allow at least 64 characters and accept spaces and all printable characters, and they must not impose other composition rules such as "one symbol". They must not force periodic changes either.

5Problem

The minimum on its own

Under NIST SP 800-63B-4, what is the minimum length of a password used on its own?

characters

Hint

More than the old 8.

Solution

Answer: 15 characters

NIST requires at least 15 characters when the password is the only factor. The 8-character minimum applies only when another factor also protects the login.

6Problem

A breached password

What should a service do if your new password appears in a list of breached passwords?

Hint

NIST asks services to check a blocklist.

Solution

Answer: Reject it and explain why

NIST: require a different secret and give the reason.

7Explain

Counting what a guesser has to get through

Why does length win? Each extra character multiplies the number of possible passwords. Eight lowercase letters give 26 to the power 8, about 209 billion combinations. A computer testing a stolen password file works through that quickly. Four words picked at random from a list of 7,776 give about 3.66 × 10¹⁵. The table shows how fast the counts grow, and the code exercise further down lets you compute two of them yourself.

PasswordPossible combinations
8 lowercase letters26⁸ ≈ 2.09 × 10¹¹
8 of 95 printable characters95⁸ ≈ 6.63 × 10¹⁵
4 random words from 7,7767,776⁴ ≈ 3.66 × 10¹⁵
5 random words from 7,7767,776⁵ ≈ 2.84 × 10¹⁹
16 lowercase letters26¹⁶ ≈ 4.36 × 10²²

8Explore

Try the counts

Each extra position multiplies the count by the number of choices. 7776 is a word list: then the length counts words.

Choices per position
Length
const choices = 26;
const length = 8;
console.log(choices ** length);
Output
208827064576

9Problem

Eight lowercase letters

How many possible passwords are there of 8 lowercase letters? Answer in billions, rounded.

billion

Hint

26 ** 8 in billions.

Solution

Answer: 209 billion

Each of the 8 positions has 26 choices, so multiply the choices: 26⁸ = 208,827,064,576, about 209 billion. Multiplying 26 by 8 would not count the combinations.

10Practice

Two exponents

Change the two exponents so the program prints the number of possible 8-letter lowercase passwords, then the number of possible 4-word passphrases.

Expected output
208827064576
3656158440062976
Your code
// Possible passwords = (choices per position) ** (length)
const letters = 26;   // a to z
const words = 7776;   // a list of 7,776 words

console.log(letters ** 1);  // change: 8 lowercase letters
console.log(words ** 1);    // change: 4 random words
Hint

The length goes in the exponent: 8 letters, 4 words.

A solution
// Possible passwords = (choices per position) ** (length)
const letters = 26;   // a to z
const words = 7776;   // a list of 7,776 words

console.log(letters ** 8);  // 8 lowercase letters
console.log(words ** 4);    // 4 random words

11Explain

Why one leak spreads to other accounts

CISA, the US cybersecurity agency, sums up a strong password in three words: long (at least 16 characters), random, and unique to each account. Random can mean a string of mixed characters or a passphrase of four to seven unrelated words. Unique matters most of all. When one site leaks, criminals try the same email and password on other sites, so a reused password turns one breach into many. Nobody can remember dozens of long random passwords.

12Problem

Why unique

Why are unique passwords so important?

Hint

Leaked logins are tried elsewhere.

Solution

Answer: Leaked logins are tried on other sites

With a unique password, one leak stays one leak.

13Problem

CISA's length

CISA says a strong password is at least how many characters long?

characters

Hint

One more than the NIST minimum.

Solution

Answer: 16 characters

Secure Our World: long means at least 16 characters.

14Explain

A passkey leaves nothing to type and nothing to steal

A passkey replaces the shared secret with public-key cryptography. MDN describes it as a key pair bound to your account on one website. The private key stays in an authenticator on or attached to your device, and you open it with your device PIN, fingerprint or face. The public key sits on the website's server. To sign in, the site sends a challenge and your device signs it.

A passkey sign-in. The private key signs a challenge on your device; the website only holds the public key.

15Problem

The private key

Where is the private key of a passkey kept?

Hint

It never leaves your side.

Solution

Answer: In an authenticator on or attached to your device

The private key is held by an authenticator on or attached to your device. The website keeps the public key to check signatures, not the private key that creates them.

16Problem

Passkeys and fake sites

Why can a phishing site not use your passkey?

Hint

A passkey is tied to one domain.

Solution

Answer: Each passkey is tied to the real site's domain

The browser offers a passkey only to the domain it belongs to.

17Explain

Where to start

Where to start? Give your email account a long passphrase first, because the email account can reset the others. If you use a password manager, give it its own master passphrase and memorise that. Keep a different password for email in the manager, and do not reuse the master passphrase there. Then change every password you know you have reused, beginning with banking and shopping accounts. When a site offers to create a passkey, saying yes is usually the quickest upgrade.

18Problem

The strongest choice

Which is the strongest choice for a new account?

Hint

Long, random and unique.

Solution

Answer: A unique passphrase of 5 random words, saved in a password manager

Long, random and unique, and nothing to remember.

19Practice

A sign-up field that follows NIST

This sign-up field breaks three NIST rules. Remove the 12-character maxlength and the onpaste blocker, and add minlength="15" and autocomplete="new-password" so password managers can fill it.

Checks
  • no 12-character limit
  • paste allowed
  • minlength 15
  • autocomplete new-password
Your code
<form>
  <label for="pw">New password</label>
  <input id="pw" type="password" maxlength="12" onpaste="return false">
  <button>Create account</button>
</form>
Preview
Hint

Remove two attributes and add two.

A solution
<form>
  <label for="pw">New password</label>
  <input id="pw" type="password" minlength="15" autocomplete="new-password">
  <button>Create account</button>
</form>

20Explain

Common mistakes

  • "Add a capital, a digit and a symbol and the password is strong."

    NIST SP 800-63B-4 now forbids services to impose rules like this. A word plus "2024!" satisfies them, as Summer2024! shows. Length does far more: in the table, 16 lowercase letters (about 4.36 × 10²²) beat 8 characters drawn from all 95 printable ones (about 6.63 × 10¹⁵).

  • "Changing my password every 90 days keeps me safe."

    Forced changes mostly produce the next variation, Summer2024! becoming Autumn2024!. NIST says services must not force periodic changes and should require a new password only when there is evidence that the old one has been compromised.

  • "My password is long, so it is fine even though it showed up in a breach."

    Once a password is in a breach list, attackers try it first, whatever its length. That is why NIST asks services to check new passwords against a blocklist of breached ones and to explain the refusal.

  • "One really strong password for every site is enough."

    Strength does not help here. Another site leaks it, and that is that. Criminals try leaked logins elsewhere (credential stuffing), so only a different password per account keeps one leak to one account.

21

Summary

  • NIST: at least 15 characters alone, 8 with MFA; no composition rules; no forced periodic changes.
  • CISA: long, random, unique; a password manager makes that possible.
  • Reused passwords turn one breach into many.
  • Passkeys use a key pair tied to the site, so they resist phishing.

Next unitTwo-step sign-in
Full text · The whole lesson as one text

"Summer2024!" ticks every box. So why is it weak?

Many people still believe a strong password needs a capital letter, a digit and a symbol, and that changing it every 90 days keeps it safe. Sign-up forms taught exactly that for years. Look at what the rules produced. "Summer2024!" meets all of them. Ninety days later it turns into "Autumn2024!", and anyone who saw the first one can guess the second. The rules made passwords harder to remember without making them much harder to guess.

What the 2025 US standard asks for instead

The current US guideline, NIST Special Publication 800-63B-4, finalised in July 2025, turns those habits around. A password used on its own must be at least 15 characters. If it is only one part of a multi-factor login, the minimum is 8. Services should allow at least 64 characters and accept spaces and all printable characters, and they must not impose other composition rules such as "one symbol". They must not force periodic changes either. A change is required only when there is evidence the password has leaked. NIST also asks services to compare every new password against a blocklist of common, expected or already-leaked passwords, because a password that has appeared in a breach is no longer secret, however long it is.

Counting what a guesser has to get through

Why does length win? Each extra character multiplies the number of possible passwords. Eight lowercase letters give 26 to the power 8, about 209 billion combinations. A computer testing a stolen password file works through that quickly. Four words picked at random from a list of 7,776 give about 3.66 × 10¹⁵. The table shows how fast the counts grow, and the code exercise further down lets you compute two of them yourself.

PasswordPossible combinations
8 lowercase letters26⁸ ≈ 2.09 × 10¹¹
8 of 95 printable characters95⁸ ≈ 6.63 × 10¹⁵
4 random words from 7,7767,776⁴ ≈ 3.66 × 10¹⁵
5 random words from 7,7767,776⁵ ≈ 2.84 × 10¹⁹
16 lowercase letters26¹⁶ ≈ 4.36 × 10²²

Why one leak spreads to other accounts

CISA, the US cybersecurity agency, sums up a strong password in three words: long (at least 16 characters), random, and unique to each account. Random can mean a string of mixed characters or a passphrase of four to seven unrelated words. Unique matters most of all. When one site leaks, criminals try the same email and password on other sites, so a reused password turns one breach into many. Nobody can remember dozens of long random passwords. That is why both CISA and NIST support password managers, programs that generate, store and fill passwords so you remember only one. NIST says services must allow password managers and autofill, and should allow paste.

A passkey leaves nothing to type and nothing to steal

A passkey replaces the shared secret with public-key cryptography. MDN describes it as a key pair bound to your account on one website. The private key stays in an authenticator on or attached to your device, and you open it with your device PIN, fingerprint or face. The public key sits on the website's server. To sign in, the site sends a challenge and your device signs it. Nothing secret is typed. Nothing secret is stored on the server either, so a server breach leaks nothing reusable. Each passkey is also tied to the site's domain, which means a look-alike phishing page cannot use it. NIST counts this kind of cryptographic login as phishing-resistant and passwords as not, and it allows passkeys that sync between your devices.

Where to start? Give your email account a long passphrase first, because the email account can reset the others. If you use a password manager, give it its own master passphrase and memorise that. Keep a different password for email in the manager, and do not reuse the master passphrase there. Then change every password you know you have reused, beginning with banking and shopping accounts. When a site offers to create a passkey, saying yes is usually the quickest upgrade. You can keep the password as a fallback.

A passkey sign-in. The private key signs a challenge on your device; the website only holds the public key.

Long: at least 16 characters. Random: mixed characters or 4 to 7 unrelated words. Unique: a different password for every account.

Common mistakes
  • "Add a capital, a digit and a symbol and the password is strong." NIST SP 800-63B-4 now forbids services to impose rules like this. A word plus "2024!" satisfies them, as Summer2024! shows. Length does far more: in the table, 16 lowercase letters (about 4.36 × 10²²) beat 8 characters drawn from all 95 printable ones (about 6.63 × 10¹⁵).
  • "Changing my password every 90 days keeps me safe." Forced changes mostly produce the next variation, Summer2024! becoming Autumn2024!. NIST says services must not force periodic changes and should require a new password only when there is evidence that the old one has been compromised.
  • "My password is long, so it is fine even though it showed up in a breach." Once a password is in a breach list, attackers try it first, whatever its length. That is why NIST asks services to check new passwords against a blocklist of breached ones and to explain the refusal.
  • "One really strong password for every site is enough." Strength does not help here. Another site leaks it, and that is that. Criminals try leaked logins elsewhere (credential stuffing), so only a different password per account keeps one leak to one account.
Teacher's noteLearners agree that "longer is better" and then, asked to invent a password, still write something short with a symbol on the end. Expect it. Let them run the code exercise and compute 26⁸ and 7,776⁴ themselves before showing the table. Teach "unique" before "long", because it is the step people skip and it is what makes a password manager make sense. Never ask anyone to type a real password in class, not even into the exercise box.
Key points
  • NIST: at least 15 characters alone, 8 with MFA; no composition rules; no forced periodic changes.
  • CISA: long, random, unique; a password manager makes that possible.
  • Reused passwords turn one breach into many.
  • Passkeys use a key pair tied to the site, so they resist phishing.

Practice questions from Passwords and passkeys on edubun

Embed this quiz

Free to embed. Please keep the credit line.

Sources for this course (13)
  • (checked 2026-10-17)
  • Standard: NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management (pages.nist.gov/800-63-4/sp800-63b.html, final 31 July 2025 per the csrc.nist.gov document history (Date Published: July 2025), checked 2026-10-17: sec. 3.1.1.2 password rules, 3.1.3.3 PSTN restricted, 3.2.5 phishing resistance, Appendix B syncable authenticators)
  • Law: 개인정보 보호법 제2조 (국가법령정보센터, law.go.kr)
  • Official agency guidance: CISA Secure Our World: Use Strong Passwords, Turn on MFA, Recognize and Report Phishing, Update Software, and tip sheets (cisa.gov/secure-our-world, checked 2026-10-17)
  • CISA, More than a Password (cisa.gov/MFA) and fact sheet Implementing Phishing-Resistant MFA (2022)
  • checked 2026-10-17
  • CISA #StopRansomware Guide (checked 2026-10-17)
  • CISA, Back Up Business Data and Data Backup Options (Ruggiero and Heckathorn, 2012, Carnegie Mellon University, produced for US-CERT, which CISA retired into CISA.gov on 24 February 2023; 3-2-1 rule) (checked 2026-10-17)
  • KISA, 118 상담 서비스 (kisa.or.kr/118, checked 2026-10-17)
  • KISA 보호나라 스미싱 확인서비스 (boho.or.kr, checked 2026-10-17)
  • KISA 개인정보침해 신고센터 (privacy.kisa.or.kr, checked 2026-10-17)
  • Technical documentation: MDN Web Docs, Passkeys (developer.mozilla.org/en-US/docs/Web/Security/Authentication/Passkeys, checked 2026-10-17) and autocomplete attribute (checked 2026-10-17)
  • History block only (the backups story): Data Backup Options (2012) and the Peter Krogh book it credits. No product is recommended.

Checked: 2026-10-17