Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Password Hashing

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting Password Hashing in Authentication.

First 30 seconds

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.

Operational verification

password → salt + slow KDF → stored hash

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Identity, authentication and access control
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIdentity, authentication and access control
Scope / prerequisiteUse it when configuring, checking or troubleshooting Password Hashing in Authentication.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • 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.

AlgorithmRecommendation
Argon2idPreferred for new systems
scryptGood, memory-hard
bcryptWidely supported, acceptable (72-byte input limit)
PBKDF2-HMAC-SHA256Acceptable with high iterations (FIPS environments)
MD5, SHA-1, plain SHA-256Never 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIdentity, authentication and access control current

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%
Terminology layer

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.

Aliases that resolve here
password KDFsalted password hashpassword verifier storage
Embedded reference data

Quick lookup tables

Authentication → Password Hashing proof map

Fast identity, policy/ceremony, outcome and closure evidence boundaries for Authentication → Password Hashing.

BoundaryEstablishDoes not establish
Identity and scopeStable subject/account/resource mapping, owner, lifecycle state and expected actionDoes not prove credential control or effective access
Policy and ceremonyEffective entitlement or authenticator/verifier policy plus all fallback pathsConfiguration presence does not prove enforcement or assurance
OutcomeAllowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetryOne success does not prove every interface, session or downstream target
ClosureOriginal end-to-end action retested; residual access/risk, owner and review trigger recordedAdministrative workflow completion alone is not closure
Confirmation

Confirm action

Continue?