Skip to content

Guide

How Password Managers Work

A password manager lets you use a long, unique password for every account while remembering only one. It works by locking all your passwords in an encrypted vault that only your master password can open.

By Dhruv Chheda · Updated 21 November 2026

The problem they solve

Strong security asks for a different random password on every site. No one can memorize that. A manager remembers the passwords so you don't have to, and fills them in when needed.

The master password and the key

Your master password isn't used directly to encrypt anything. It is run through a key derivation function, such as PBKDF2 or Argon2, which deliberately takes a noticeable amount of computation. This turns a guessable human password into a strong encryption key and makes each guess by an attacker expensive.

The result is a key used with an authenticated cipher such as AES-256-GCM. Without the master password there is no feasible way to derive the key, and so no way to read the vault.

The encrypted vault

The vault holds your entries: site, username, password and notes. It is stored only in encrypted form. Well-designed managers are 'zero knowledge': the company storing your vault never has your master password or key, so a server breach exposes ciphertext, not your passwords.

Autofill and phishing

Managers that autofill match the site's real domain before filling a password. A look-alike phishing page has a different domain, so nothing is filled. That alone stops many phishing attacks that fool people.

Trade-offs to know about

  • The master password is a single point of failure. Make it a strong passphrase and never reuse it.
  • If you forget it, a zero-knowledge vault can't be recovered by anyone. Keep a secure recovery method or backup.
  • Malware on your device can capture what you type or see. A manager can't protect an already-compromised computer.
  • Syncing across devices adds convenience and some exposure. It depends on the provider's design.

Where the PassCrafter vault fits

The PassCrafter vault uses the same building blocks: PBKDF2 key derivation, AES-256-GCM encryption and a master password. It is deliberately small and local: no account, no sync, no autofill. Everything stays in your browser, and you move data with an encrypted backup file.

That makes it a good fit for people who want a private place to keep generated passwords without trusting a service. If you need cross-device sync, browser autofill, sharing or breach monitoring, a dedicated, audited password manager does more.

How to choose a manager

  • Zero-knowledge design with strong key derivation.
  • Independent security audits and a clear incident history.
  • Easy export, so you are never locked in.
  • Two-factor authentication for the vault itself.
  • A recovery option you understand.

Whichever you pick, protect it with a long passphrase from the passphrase generator.

Try it

Tools for this guide

Keep reading

More guides