A password manager typically encrypts saved credentials with a key derived from your master password, then decrypts them when you need to sign in. These password manager encryption methods balance easy access with control over your account security. A data breach exposed 20 million plaintext passwords across 900 poorly set up Google Firebase sites.
That example shows why data protection matters to users and the wider field of cybersecurity. The collection of saved credentials is your vault, and it should stay protected while stored and synced. Your choice depends on how the vault is protected, not just on the name of an encryption algorithm.
Key Takeaways
- Vault encryption must let your manager open saved credentials when needed.
- Login systems should hash passwords, not store them in plain text.
- A master password can help create an encryption key through key derivation.
- “Zero-knowledge” describes a design goal, not a full privacy promise.
- Device safety, recovery options, and account controls also affect your security.
What Does a Password Manager Encrypt?
A vault must be decrypted so it can fill a login form, but a website should not be able to reverse the hash of your login password. Those are different jobs, and vault encryption must be reversible while authentication password hashing should not be.
A password manager encrypts saved passwords and other vault entries, then decrypts them for use. A website stores a one-way hash to check whether your password matches. The website does not need to read the original password.
Vault entries must be decrypted when you use them
Encryption protects stored data from someone who gets the encrypted database. The manager needs the right key to turn each entry back into readable text. That lets it fill a login form or show a saved note.
Encryption is useful here because you need to recover the original credentials. Authentication works differently: the service checks a password without keeping a readable copy. A fast SHA-256 hash is not suitable for storing login passwords.
Login passwords need one-way hashes
Password hashing should use an adaptive method that makes guesses costly. A unique salt should go with each stored password hash. Password-hashing libraries often create and manage these salts for you.
A pepper is another secret shared across password records. Keep it apart from the password hashes. OWASP’s password-storage guidance gives these examples; it does not set vault-encryption settings.
| Use | Method | Rule or minimum |
|---|---|---|
| Password storage | Argon2id | 19 MiB memory, 2 iterations, 1 degree of parallelism |
| Password storage | scrypt | CPU/memory cost 2^17, block size 8, parallelization 1 |
| Legacy password storage | bcrypt | Work factor 10 or more, 72-byte limit |
| FIPS-required password storage | PBKDF2 with HMAC-SHA-256 | Work factor 600,000 or more |
OWASP sets Argon2id’s minimum settings at 19 MiB of memory, 2 iterations, and 1 degree of parallelism. If Argon2id is unavailable, its guidance names scrypt with the table’s minimum settings.
For legacy systems, OWASP recommends bcrypt at a work factor of 10 or more, with a 72-byte password limit. When FIPS-140 compliance is required, the guidance recommends PBKDF2 with HMAC-SHA-256 and a work factor of at least 600,000.
Use a slow, adaptive hash for passwords that a service stores for authentication.
How Password Manager Encryption Methods Protect Your Vault
AES uses one secret key to encrypt and decrypt data, so it can protect a vault without slowing routine access to every saved item. The key size is only one part; the encryption mode also affects whether changes to encrypted data can be detected.
AES is a common choice among password manager encryption methods. NIST defines three AES key lengths, but all three work on the same block size. A large keyspace does not make a flawed or poorly built system safe.
AES key sizes change the key length, not the block size
The number after AES names the key length in bits. AES-128, AES-192, and AES-256 all encrypt and decrypt 128-bit blocks.
| AES version | Key length | Block size |
|---|---|---|
| AES-128 | 128 bits | 128 bits |
| AES-192 | 192 bits | 128 bits |
| AES-256 | 256 bits | 128 bits |
AES-256 has 2^256 possible keys, about 1.16×10^77, and uses 14 rounds. NIST’s 2023 update to the AES standard made no technical changes, but added definitions and key-schedule diagrams.
Those numbers describe the cipher, not every part of a password manager. Software flaws, weak key handling, or a compromised device can still put a vault at risk. Some managers also use other algorithms, so compare each product’s design and controls.
For a closer look at named products and their encryption choices, see these password manager alternatives.
Encryption modes also protect integrity
Confidentiality keeps outsiders from reading vault contents. Integrity helps show whether encrypted data changed. AES-GCM provides built-in authentication, while AES-CBC encrypts without authentication.
GCM needs careful nonce handling. Reusing an AES-GCM nonce can cause severe security failures. Check that the mode authenticates encrypted data, and that the system handles each nonce safely.
A Master Password Becomes an Encryption Key Through Key Derivation
A master password is easier to remember than a cryptographic key, so software uses key derivation to turn it into one. Key derivation is the process of using a password and other inputs to create a key for encryption. The master password should not serve directly as the vault’s encryption key.
A key-derivation function mixes the master password with a random salt. The salt is stored with the data, so the manager can derive the same key again. A unique salt also means equal passwords do not produce equal keys.
A slower derivation takes more work for each guess, which can slow an attacker testing stolen vault data. NIST’s 2023 review proposal suggested approving another memory-hard function and clarifying PBKDF2 guidance. One practical example uses a 64-bit salt, or 128 bits for more margin.
- You enter your master password.
- The manager reads the unique salt stored with the vault.
- A key-derivation function combines the password and salt.
- The function returns a derived encryption key for the vault.
Choose a long, unique master passphrase because a strong derivation step cannot make a weak secret impossible to guess.
Zero-Knowledge Describes a Design, Not a Guarantee
In a client-side design, your device encrypts the vault before sending it to a provider’s server. That can keep vault contents unreadable, and the label “zero-knowledge” is not a strict technical standard.
Cloud-based password managers store encrypted vault databases on remote servers. Local tools keep the encrypted database on your device, while self-hosted tools use a private server. Each setup changes who runs the storage and what access controls you manage.
End-to-end encryption keeps data encrypted from its source to its recipient. For a vault, encryption before sync can stop the provider from reading saved entries. The provider may still see some metadata, such as account details or sync activity.
Recovery features can also change who may regain access. A recovery key or trusted contact may help if you lose your master password. Those options need clear rules about who can use them and what they can restore.
For more on local tools and cloud services, compare these mobile password manager options. Treat the label as a starting point and check how the service handles vault contents, metadata, and recovery.
Sharing and Syncing Add Separate Security Layers
A vault can be encrypted at rest and still need separate protection while it syncs or is shared. Each step has a different job, and the receiving user must get access without exposing the shared secret to others.
TLS protects data as it moves between your app and a server. Public-key encryption can protect a shared key for a recipient. RSA is one example: a public key encrypts, while a private key decrypts.
- Local vault encryption protects saved entries on a device.
- Transport protection uses TLS to protect data moving over a connection.
- Recipient-key protection uses public-key encryption to share access with a chosen person.
These layers do not hide every detail. A service may still see who shared an item, when access changed, or which account received it. Enterprise managers may also record access events for review.
For team access, check who can receive a shared key and what activity the service records. A guide to password managers for small teams can help compare access and offboarding tools.
Encryption Cannot Stop Every Attack
Encryption protects secret contents, but it cannot by itself stop every attack on a vault or the device that opens it. Confidentiality is not integrity, and a fully malicious server can create risks beyond reading stored data.
A fully malicious-server threat model assumes the provider’s server may act against users. A 2026 comparative paper reports 12 distinct attacks against Bitwarden, 7 against LastPass, 6 against Dashlane, and 6 against 1Password. The attacks range from targeted vault changes to compromise of vaults linked to an organization.
The four managers together have more than 60 million users and 23% market share. Most reported attacks allow password recovery. These findings show why unreadable data alone does not settle every security question.
A malicious server can threaten vault integrity
Integrity means the vault has not been changed or rolled back to an older copy. Authenticated encryption can detect some tampering, but it does not prevent rollback by itself. A SHA-256 digest kept in trusted storage can help detect a changed or rolled-back vault.
That check needs a trusted place to compare the digest. If an attacker can change both the vault and its reference value, the check may not help. Ask how the manager detects a change before you trust a synced copy.
Your device and master password still matter
Malware on your device may capture a password after you unlock the vault. A stolen master password can also give an attacker a path to saved credentials. These risks do not depend on a provider reading an encrypted database.
Keep devices updated and protect the account that opens the vault. A lost work device can expose an active session even when the vault itself uses strong encryption. Ask whether the provider’s design detects tampering as well as keeping vault contents unreadable.
A Practical Checklist for Choosing a Password Manager
A useful manager should make secure habits easier without asking you to trust a label alone. Look for clear answers, and choose a tool that supports strong passwords, account checks, and easy daily use.
NIST guidance supports long master passphrases, unique passwords for accounts, and multi-factor authentication when available. It also recommends paste functionality in password fields, which helps people use password managers.
- Read how the service encrypts vault data and what happens during recovery.
- Use the manager to create a different password for every account.
- Turn on multi-factor authentication to add another account check.
- Confirm that login fields let you paste saved credentials.
For a broader comparison of features, browse these password manager picks. A free trial can help you test device support, sharing, and everyday sign-in steps.
For a work rollout, confirm that the security controls fit your organization’s access and recovery policies.
Conclusion
Strong encryption is valuable, but it is only one part of a secure password manager. Your protection depends on the full design: the key, the encryption process, and the controls around access.
Choose a manager that explains how it protects your vault and what happens if you lose access. Then set a long master password and turn on multi-factor authentication where available.
Before adopting a tool, review its encryption, recovery, and multi-factor settings against your needs.



