How Password Managers Work
Understand the encrypted vault, the master password, zero-knowledge design and autofill, and why a manager is safer than memory, notebooks or reuse.
Welcome back!
Step 1 of 12Learn
One strong password instead of a hundred weak ones
The average person has dozens of online accounts, often more than a hundred when you count old shopping sites, apps and services. Nobody can memorize a hundred long, random, unique passwords. So people reuse, or use patterns, or write them in a notebook, or click "forgot password" every time.
A password manager solves this by remembering for you. It's an app (often with a browser extension and phone app) that stores your passwords in an encrypted vault. You open the vault with one strong master password (or a passkey, or your device's biometrics backed by a master secret), and the manager fills in the right password for each site.
What you gain:
- Unique, random passwords everywhere, generated with a click: 20 characters or a long passphrase.
- No more remembering anything except the master password.
- Protection against fake sites, because the manager matches saved passwords to the real website address.
- Sync across devices, so your phone and laptop have the same vault.
- Alerts for reused, weak or breached passwords in many managers.
The obvious worry is "all your eggs in one basket." That worry is reasonable, and we'll look at it honestly. But for almost everyone, a well-protected basket beats a hundred weak ones scattered around.
Step 2 of 12Learn
Encryption and zero knowledge
How can it be safe to put every password in one place, especially one that syncs through the cloud?
Reputable managers use end-to-end encryption with a zero-knowledge design. Your vault is encrypted on your device with a key derived from your master password before anything is uploaded. The company's servers store only scrambled data. They don't know your master password and can't read your vault.
To turn your master password into an encryption key, the manager runs it through a deliberately slow key derivation function (such as PBKDF2 or Argon2) with many iterations. That makes each guess at your master password expensive if someone steals the encrypted vault.
This design has two big consequences:
- If the company is breached, attackers get encrypted vaults. Their only path is guessing master passwords offline. A long, random master passphrase makes that hopeless; a weak one does not. Password manager breaches have happened, and users with weak master passwords were the ones most at risk.
- If you forget your master password, the company usually can't recover your vault. That's the price of zero knowledge. You must set up the recovery options the manager offers, such as a recovery key or emergency contact, before you need them.
Step 3 of 12Practice · True or false
With a zero-knowledge password manager, the company can reset your master password and show you your saved passwords if you forget it.
Step 4 of 12Practice · Diagram
Zero knowledge: what leaves your device
At which step does an attacker who steals the company's servers get stuck?
Tap the shape that answers the question, then press Check.
- Master password
Typed only on your device.
- Slow key derivation
PBKDF2 or Argon2 with many iterations: each guess is expensive.
- Encryption key, on device only
- Vault encrypted locally
- Only ciphertext synced
The company stores scrambled data it cannot read.
Step 5 of 12Learn
Autofill: a quiet anti-phishing tool
One feature of password managers is more valuable than it first appears. When you visit a sign-in page, the manager checks the exact web address (the domain) and offers only the passwords saved for that domain.
Now imagine a phishing email sends you to examp1e-bank.com or example-bank.secure-login.net. The page looks perfect: the logo, the colors, the layout. Your eyes may be fooled. Your password manager isn't: it sees that the domain doesn't match example-bank.com, so it doesn't offer to fill anything.
That missing autofill is a warning sign. If you ever find yourself thinking "The manager isn't filling my password, I'll just copy it from the vault and paste it," stop. Check the address bar carefully. Legitimate exceptions exist (some companies use several domains for sign-in, and a few sites have quirky forms), but a missing autofill on a page you reached from an email or text message should make you suspicious.
Tip: the safest way to visit important accounts is from your own bookmark or by typing the address, not from links in messages.
Step 6 of 12Practice · What would you do?
What would you do?
You click a link in a text message about a delivery problem. It opens a page that looks exactly like a big online store's sign-in. Your password manager, which normally fills this store's password, shows nothing. What should you do?
Step 7 of 12Practice · Diagram
Autofill checks the address, not the look
Which address will the manager offer to fill?
Tap the shape that answers the question, then press Check.
- Login saved for example-bank.com
- example-bank.com
Exact match: the manager offers to fill.
- examp1e-bank.com
A digit 1 instead of an l: no fill.
- example-bank.secure-login.net
The real domain here is secure-login.net: no fill.
Step 8 of 12Compare
Where should passwords live?
| Aspect | Memory and reuse | Paper notebook at home | Browser's built-in manager | Dedicated password manager |
|---|---|---|---|---|
| Unique passwords for every site | Practically impossible | Possible but tedious | Yes, with generator | Yes, with generator |
| Protection from remote attackers | Weak, because of reuse | Good: nothing online to steal | Good if the device and account are secured | Good with a strong master password |
| Phishing protection | None | None | Domain-matched autofill | Domain-matched autofill |
| Works across devices and browsers | Yes, but weakly | No | Usually within one ecosystem | Yes, most platforms |
| Main risk | One leak opens many accounts | Loss, fire, someone in your home | Anyone using your signed-in device or account | Weak master password or no recovery plan |
Step 9 of 12Note
Step 10 of 12Practice · Select all that apply
Which statements about password managers are true? Select all that apply.
Select all that apply.
Step 11 of 12Note
Step 12 of 12Practice · Choose one
Why do password managers use a slow key derivation function on the master password?
Lesson complete!