A strong password is long, unique, and protected with a slow password hash plus a unique salt. Salt the Fries: Some Notes on Password Complexity and Security explains why old rules about symbols and mixed case often miss the real risk. Good password security starts with length, blocks reused passwords, and uses multi-factor authentication where possible.
TL;DR: – Long, unique passwords beat short passwords packed with symbols. A passphrase with four or five random words can be easier to remember and harder to guess.
- A salt is a random value stored with each password hash. It stops attackers from using one prebuilt lookup list against every account.
- Password hashing is not encryption. Hashing should use a slow password tool such as Argon2id, bcrypt, scrypt, or PBKDF2.
- Use a password manager and MFA. These two steps cut down password reuse, phishing damage, and account takeovers.
Salt the Fries: Some Notes on Password Complexity and Security
Password rules should reward length and uniqueness, not force people to invent odd strings they'll reuse everywhere. A password such as Blue!7River!2026 may pass a checker, but it can still be weak if it follows a common pattern or appears on another site.
A better plan has four parts:
- Use a long password or passphrase.
- Use a different password for every account.
- Store passwords with a slow, salted hash.
- Add MFA, such as an authenticator app or security key.
The word salt gives us a useful food example. A cook adds salt to each serving. A server adds a different random salt to each password before hashing it. The salt doesn't make the password secret on its own, but it makes stolen password data much harder to use.
What does password salting do?
Password salting adds a unique random value to each password before the server hashes it. The server stores the salt and the final hash, but never needs to store the plain password.
A basic process looks like this:
- A user chooses a password.
- The system creates a random salt.
- The system joins the password and salt.
- A password hashing function processes both values.
- The system stores the salt, hash, and settings used.
- During login, the system repeats the process and compares the result.
For example:
- Password:
correct horse battery staple - Salt:
8f2c...random bytes...91aa - Stored result: a slow password hash made from both values
The salt doesn't need to be hidden. Its job is to make each password hash different, even when two people choose the same password.
Why does every password need its own salt?
Every password needs its own salt because one shared salt lets an attacker reuse work across many accounts. Unique salts force the attacker to attack each password record on its own.
Suppose 10,000 users all choose Welcome123. Without unique salts, the same password may produce the same hash for every user. An attacker can spot the repeated value quickly.
With unique salts, the same password creates 10,000 different hashes. A stolen database no longer gives the attacker one easy match for every account.
Salts also defeat many old rainbow table attacks. A rainbow table is a large list of ready-made password guesses and hash results. A unique salt makes those old lists far less useful because the attacker would need a new set of calculations for each salt.
Does a salt stop password guessing?
No, a salt doesn't stop password guessing, but it makes large-scale guessing slower and less useful. An attacker with a stolen hash can still test guesses offline.
That's why the server also needs a slow password hashing function. A fast hash, such as plain SHA-256 used by itself, can let attackers test huge numbers of guesses with powerful hardware.
A password hash should be:
- Slow enough to raise the cost of each guess
- Tunable as computers get faster
- Made for passwords, rather than for fast file checks
- Used with a unique random salt
Is password complexity still useful?
Yes, some password rules help, but long and unique passwords matter more than forced symbols. Rules that demand one uppercase letter, one number, and one symbol can push people toward easy patterns.
Common examples include:
Summer2026!Password1!CompanyName123!Monday#1
These passwords look complex to a basic checker. Attack tools test those patterns early because people use them often.
The NIST Digital Identity Guidelines recommend long passwords, screening against known bad passwords, and avoiding forced composition rules. The guidance also says services should accept long passwords and shouldn't quietly cut them off at a small character limit.
What makes a password strong?
A strong password is long, unique, hard to predict, and not based on public facts. Length gives the attacker more possible guesses, while uniqueness stops one breach from opening several accounts.
A useful password may be:
- A random string created by a password manager
- A long passphrase made from random words
- A unique login secret that has never been used elsewhere
A passphrase such as cactus-lantern-violin-snow may be easier to recall than C@ctu5L4nt3rn!. The random word choice matters. A phrase based on a famous quote, song lyric, or personal hobby may be easier to guess than it looks.
Avoid passwords based on:
- Names, birthdays, pets, and street names
- Sports teams and favorite bands
- Keyboard patterns such as
qwerty123 - A base password with a new year added
- A company name followed by a symbol
- A password used on another site
Password length versus password complexity
Password length usually gives more protection than a long list of character rules. A 20-character random passphrase can be stronger than a 10-character password loaded with symbols.
| Password style | Example | Main risk | Better choice |
|---|---|---|---|
| Short and simple | letmein |
Easy to guess | Use a long random password |
| Short with symbols | Summer2026! |
Common pattern | Use a longer passphrase |
| Long but reused | Same password on email and shopping sites | One breach spreads | Use a unique password |
| Long passphrase | cactus-lantern-violin-snow |
Weak if based on a known quote | Use random words |
| Manager-created password | Random 20 to 30 characters | Hard to remember without a manager | Best choice for most accounts |
Password length doesn't make a reused password safe. If a password appears in a leaked database, attackers will try it against email, banking, work, and social accounts.
How should websites store passwords?
Websites should store passwords with a dedicated password hashing function, a unique salt, and a cost setting that slows guesses. They should never store plain passwords or use ordinary encryption as the main storage method.
The OWASP Password Storage Cheat Sheet lists Argon2id as a strong first choice for new systems. It also covers scrypt, bcrypt, and PBKDF2 for cases where another choice fits the system.
Password hashing versus encryption
Password hashing is one-way by design, while encryption is made to be reversed with a key. A website needs to check whether a login password matches, so it should compare a new hash with the stored hash rather than decrypt a stored password.
A safe storage record may include:
- The algorithm name
- The cost or work setting
- The unique salt
- The resulting password hash
- A version number for future upgrades
A server may also use a pepper, which is a secret value kept outside the password database. A pepper can add protection if the database is stolen, but it must be managed carefully. A lost pepper can lock every user out.
Which password hash should developers choose?
Argon2id is a strong first pick for new systems, while bcrypt, scrypt, and PBKDF2 remain common choices. The best choice also depends on the programming language, hosting setup, hardware, and support tools.
Developers shouldn't invent a home-made password hash. A trusted library handles salts, settings, memory use, and safe comparison more reliably than custom code.
The work setting should be tested on real production hardware. If a login takes too long for normal users, people may see errors or retry many times. If it's too fast, attackers can test guesses cheaply. Rate limits and account monitoring add another layer.
Do password managers improve security?
Yes, password managers improve security because they create and store unique passwords for each account. They remove the need to remember dozens of passwords, which makes reuse far less tempting.
A good password manager can:
- Create long random passwords
- Fill login forms
- Warn about reused passwords
- Flag known exposed passwords
- Store passkeys and secure notes
- Sync across trusted devices
- Protect its vault with one strong master password
For a password manager, the master password deserves extra care. Make it long, unique, and easy for you to recall. Never reuse it anywhere else.
Popular tools include 1Password, Bitwarden, Proton Pass, Dashlane, and the password managers built into Apple, Google, and Microsoft devices. The best tool is one you'll use across your accounts and keep updated.
Why does MFA matter if passwords are strong?
MFA matters because a second proof can stop an attacker who has the password. A login may require something you know, something you have, or something you are.
Good MFA choices include:
- Security keys, such as YubiKey devices, which resist many phishing attacks.
- Passkeys, which use public-key cryptography and don't send a reusable password to the website.
- Authenticator apps, which create short time-based codes.
- Push prompts, which are useful but can be abused through repeated approval requests.
- Text messages, which are better than no MFA but weaker than an app or security key.
The CISA guidance on phishing-resistant MFA recommends security keys and passkeys for stronger protection against fake login pages.
MFA doesn't make phishing harmless. An attacker may still trick someone into approving a fake prompt or giving away a code. Train users to deny unexpected prompts and report them.
What should users do after a password breach?
Change the exposed password at the affected service first, then change it anywhere else that used the same password. Check account recovery email addresses, active sessions, payment details, and MFA settings.
Use this short response plan:
- Change the breached password.
- Replace every reused copy.
- Sign out of other sessions.
- Turn on MFA.
- Check for new recovery methods.
- Review recent login activity.
- Watch for phishing messages.
- Contact the service through its real website.
Don't trust a message that asks you to reset a password through a strange link. Open the service yourself through a saved bookmark or typed address.
A practical password plan for families and teams
A practical plan starts with email because email often controls password resets for other accounts. Secure the main email account with a password manager, MFA, and updated recovery details.
Use this order:
- Secure your main email account.
- Install a trusted password manager.
- Replace reused passwords.
- Turn on MFA for email, banking, work, and social accounts.
- Store backup codes in a safe place.
- Remove old accounts you no longer need.
- Check breach notices and act quickly.
Teams should never share one password for a group account. Use separate accounts with proper access rights. If a shared login can't be avoided, store it in a team password manager, record who has access, and change it when someone leaves.
Frequently Asked Questions
What is a password salt?
A password salt is a unique random value added to a password before hashing. The salt is stored with the hash and makes identical passwords produce different stored results.
Is a salted hash safe to store?
A salted hash is safer than a plain password, but it isn't magic protection. A stolen hash can still face offline guessing, so services should use a slow password hashing function, strong login limits, and MFA.
Should passwords include symbols?
Symbols are fine, but they shouldn't be the main goal. A long, unique password or random passphrase usually gives better protection than a short password built around forced symbol rules.
How long should a password be?
Use the longest password the service accepts, with 15 or more characters as a useful target for a password used by itself. Random manager-created passwords can be longer, often 20 characters or more.
Is a password manager safe?
A password manager is usually safer than reusing passwords or saving them in plain text. Protect the manager with a long, unique master password, MFA, device updates, and a recovery plan.
What is better than SMS MFA?
Passkeys and physical security keys offer stronger protection against phishing than SMS codes. An authenticator app is also a good step up from text messages when those options are available.
One thought on “Salt the Fries: Some Notes on Password Complexity and Security”