Use it when configuring, checking or troubleshooting Password Hashing in Authentication.
Password Hashing
The verifier record includes algorithm, parameters, unique salt and derived value; optional pepper is protected separately, comparison is constant-time where relevant and parameters can be upgraded after successful authentication.
1. Store passwords with slow, salted hashes: Argon2id, scrypt, bcrypt, yescrypt.
2. Never plain SHA/MD5.
3. Unique salt per password.
4. Tune cost parameters.
5. Rehash on login when upgrading.
password → salt + slow KDF → stored hash
Context & applicabilityCommon mistakes · platform/version boundaries
A matching password hash shows the input reproduces the stored verifier, but it does not show the user identity, prevent offline guessing of weak passwords or protect a separately exposed pepper.
Suspicious evidence: MD5/SHA used directly, shared or missing salt, low work factor, hard-coded pepper, reversible password storage, truncated inputs, unhashed backups or silent migration failures.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
password input → unique salt + password KDF parameters → derived verifier record → protected database/pepper boundary → verification → parameter rehash/migration
Healthy evidence: A suitable memory/CPU-hard KDF and unique salts are used, parameters are versioned and reviewed, peppers are separated, migrations work and no plaintext or fast-hash legacy records remain.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Password hashing ≠ encryption.
- General-purpose fast hash ≠ password KDF.
- Salt ≠ secret and does not replace work factor.
- Pepper ≠ unique salt or substitute for secure key management.
grep '^<user>' /etc/shadow | cut -d: -f2 | cut -c1-4— hash algorithm prefix ($y$=yescrypt, $6$=SHA-512)python3 -c 'import argon2'— library availability- App password storage review — algorithm
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A matching password hash shows the input reproduces the stored verifier, but it does not show the user identity, prevent offline guessing of weak passwords or protect a separately exposed pepper.
In depth
Password hashing stores a one-way transformation of a password instead of the password itself, so a database leak does not directly reveal passwords. Because attackers test guesses against stolen hashes at enormous speed, password hashing must be deliberately slow, salted and ideally memory-hard.
| Algorithm | Recommendation |
|---|---|
| Argon2id | Preferred for new systems |
| scrypt | Good, memory-hard |
| bcrypt | Widely supported, acceptable (72-byte input limit) |
| PBKDF2-HMAC-SHA256 | Acceptable with high iterations (FIPS environments) |
| MD5, SHA-1, plain SHA-256 | Never for passwords |
Use a unique random salt per password (libraries do this automatically), tune cost parameters to your hardware, and re-hash with stronger parameters when users log in.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Authentication → Password Hashing. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pages.nist.gov/800-63-4/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Authentication → Password Hashing proof map
Fast identity, policy/ceremony, outcome and closure evidence boundaries for Authentication → Password Hashing.
| Boundary | Establish | Does not establish |
|---|---|---|
| Identity and scope | Stable subject/account/resource mapping, owner, lifecycle state and expected action | Does not prove credential control or effective access |
| Policy and ceremony | Effective entitlement or authenticator/verifier policy plus all fallback paths | Configuration presence does not prove enforcement or assurance |
| Outcome | Allowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetry | One success does not prove every interface, session or downstream target |
| Closure | Original end-to-end action retested; residual access/risk, owner and review trigger recorded | Administrative workflow completion alone is not closure |