OWASP's password storage guidance names Argon2id, bcrypt, and PBKDF2 as examples of strong, slow hashing algorithms. Never store the password itself or rely on a fast hash like SHA-256 alone. The right answer for a questionnaire names the algorithm and gives the configuration OWASP states for it.
Key takeaways
- Argon2id — minimum 19 MiB memory, iteration count 2, parallelism 1
- bcrypt — for legacy systems: work factor of 10 or more, with a 72-byte password limit
- PBKDF2 — for FIPS-140 compliance: work factor of 600,000 or more, HMAC-SHA-256 as internal hash
- Fast hashes are out — SHA-256 alone lets attackers run large numbers of guesses quickly; a slow hashing function makes each guess expensive
- Answer with specifics — name the algorithm, state the configuration in OWASP's terms, and say where the setting is documented; vague answers trigger follow-up rounds that stall renewals
Why a questionnaire asks about password hashing at all
You are not a security engineer. You are on a call, or reading a renewal questionnaire, and your customer asks how the vendor stores their users' passwords. The question sounds simple. The answer decides whether they renew.
Passwords are a shared liability. The people who build with them and the people who type them both carry the risk. Google puts it bluntly: "Developers and users both hate passwords: they give a poor user experience, they add conversion friction, and they create security liability for both users and developers." That comes from Passkeys | Google for Developers.
Yubico describes the developer side of the same burden: moving passwords through systems safely and keeping them in a hardened database is "a burdensome overhead," as stated on WebAuthn | Yubico Developers.
So when your customer asks how passwords are stored, they are asking whether that overhead was taken seriously. The honest, specific answer names an algorithm and its settings. Vague reassurance fails the questionnaire.
This post gives you that answer, in your words, for the three algorithms the OWASP password storage guidance names.
What OWASP actually requires
The OWASP Cheat Sheet Series is the source for every setting in this post.
The central rule of the OWASP password guidance is simple: never store the password itself, and never store it under a fast hash. Instead, protect it with a strong, slow hashing algorithm that makes guessing expensive for an attacker.
OWASP's wording is precise: passwords "must be protected using strong, slow hashing algorithms such as Argon2id, bcrypt, or PBKDF2." That comes from the Password Storage - OWASP Cheat Sheet Series.
Three names, three different situations. Argon2id is one of the named algorithms. bcrypt applies to legacy systems. PBKDF2 applies when FIPS-140 compliance is required. Your answer on a questionnaire should name the one your vendor uses and its settings.
Why fast hashes are out
The same guidance also tells you what not to say. "Fast hashing algorithms such as SHA-256 are not suitable for password storage because they allow attackers to perform large numbers of guesses quickly."
If a questionnaire asks whether passwords are hashed with SHA-256 alone, the answer is no. A fast hash protects data at rest against casual inspection. It does nothing to slow down an attacker with a stolen database and a bank of graphics cards.
The distinction that matters for your customer is cost. A slow hashing function forces an attacker to spend real hardware time on every guess. The defender pays that cost once for each login. The attacker pays it for every guess.
Algorithms compared at a glance
Here is the short comparison you can keep in front of you while you read the questionnaire. Each row is one algorithm, its role, and the minimum configuration OWASP states.
| Algorithm | Role | Minimum configuration OWASP states |
|---|---|---|
| Argon2id | Strong, slow hashing | 19 MiB memory, iteration count 2, parallelism 1 |
| bcrypt | Legacy systems | Work factor of 10 or more, 72-byte password limit |
| PBKDF2 | When FIPS-140 compliance is required | Work factor 600,000 or more, HMAC-SHA-256 as internal hash |
Read the rows as choices, not as a ranking. The right answer for your customer is the one the vendor can demonstrate.
Argon2id: one of three named algorithms
Argon2id is one of the three algorithms OWASP names for password storage. Its stated configuration includes a memory setting.
OWASP states the minimum configuration: "Use Argon2id with a minimum configuration of 19 MiB of memory, an iteration count of 2, and 1 degree of parallelism." That setting is from the Password Storage - OWASP Cheat Sheet Series.
Three settings. The memory cost sets how much memory each hash uses. The iteration count sets how many times the work repeats. OWASP sets parallelism at 1 as the minimum.
If your vendor says they use Argon2id, ask for the three numbers. A real implementation reports them without a meeting. A vendor who cannot produce them is either running defaults they have never verified or not using Argon2id at all.
Note what the memory figure buys you on a questionnaire. When an auditor wants evidence that password storage is not a fast hash, a stated Argon2id configuration with a memory cost answers the question before the follow-up arrives.
The numbers above are minimums. Whether a vendor should run higher depends on their hardware and threat model, and that is a question for their engineering lead, not a gap you need to fill in yourself.
Illustrative example: an Argon2id answer
Illustrative answer: "Passwords are hashed with Argon2id, configured at 19 MiB of memory, an iteration count of 2, and parallelism of 1, which are the minimums OWASP states. The configuration is recorded in the vendor's security documentation."
That answer names the algorithm, gives the settings and says where they are documented. It is the pattern the checklist below asks for.
bcrypt: the legacy workhorse you will still meet
Many systems you will be asked about were built before Argon2id was common, and rewriting password storage mid-life carries real risk. OWASP accepts bcrypt where it is already in place.
The rule for those systems: "For legacy systems using bcrypt, use a work factor of 10 or more and with a password limit of 72 bytes." The same Password Storage - OWASP Cheat Sheet Series page carries it.
The work factor is the knob. A work factor of 10 is the floor OWASP states; going higher costs login time and buys guessing cost.
The 72-byte limit is the detail that catches teams out. If your customer's policy allows long passphrases, ask how the system handles inputs longer than 72 bytes. Enforcing a 72-byte maximum is one way to keep within the stated limit.
When you answer on bcrypt, give both facts together: the work factor in use, and the confirmation that password length is handled within the 72-byte boundary. Questionnaire writers who know bcrypt ask for exactly that pair.
PBKDF2: the compliance answer
OWASP directs you to PBKDF2 when FIPS-140 compliance is required. If your customer's security team requires it, PBKDF2 is the path OWASP recommends.
The stated floor is steep: "If FIPS-140 compliance is required, use PBKDF2 with a work factor of 600,000 or more and set with an internal hash function of HMAC-SHA-256." That comes from the same Password Storage - OWASP Cheat Sheet Series page.
The iteration count is where PBKDF2 does its work. A work factor of 600,000 or more rounds the internal hash many times before the stored value exists. The internal hash, HMAC-SHA-256, is the other setting to state.
There is a further storage detail worth knowing when you read a vendor's schema. The final value written to the database is not just the raw output. The guidance notes that the resulting password hash is hashed again with an HMAC, using HMAC-SHA256 or HMAC-SHA512 depending on the desired output length, before the hash is stored in the database.
If a questionnaire asks how the stored value is produced end to end, describe both stages: derive with the slow function, then wrap the result in an HMAC before it touches the database.
How to read a vendor's answer
Questionnaires reward specificity. Answers that name a category lose points, or worse, trigger a follow-up that stalls the renewal.
Strong answer. Names the algorithm, gives the configuration in the terms OWASP uses, and says where the setting is documented. If the system runs PBKDF2, the answer includes the iteration count and the HMAC choice. If it runs bcrypt, the answer includes the work factor and the byte limit handling.
Weak answer. Says "industry-standard hashing" without a name. Says "we use SHA-256" as the only detail. Says "we are compliant" with no algorithm behind the claim. Each of those invites the next question, and each round costs you calendar days you do not get back before renewal.
For the sign-up side of the same controls, see password controls for account sign-up.
Wrong answer. Claims passwords are stored in plain text for convenience, or says a fast hash is used because login must be instant. OWASP's position on fast hashes is unambiguous, and an auditor will read it the same way.
What a breach looks like on each side of the line
Your customer's real question underneath the technical one is what happens if the database leaks. The answer splits cleanly by algorithm choice.
With a fast hash such as SHA-256 alone, an attacker with the database can run enormous volumes of guesses at very high throughput. The guidance's language is direct: fast hashes "allow attackers to perform large numbers of guesses quickly."
With Argon2id, bcrypt, or PBKDF2 at the stated settings, each guess costs the attacker real time. Argon2id also sets a memory cost. The defender pays that cost once for each legitimate login. The attacker pays it for every password guess.
This asymmetry is the whole point of slow hashing, and it is the sentence to reach for when a security reviewer asks why login is not instant. Speed at login is a product decision. Speed for an attacker is a security failure.
It is also the honest framing for a question the stated settings cannot answer alone: how long a given system would actually hold up under a determined attack depends on its hardware and the password habits of its users. Ask your vendor's engineering lead for their own testing rather than quoting a figure without one.
Bringing it back to the renewal call
Picture the renewal call. Your customer's security lead reads item four of their questionnaire: describe how customer passwords are stored.
You have the answer ready. You name the algorithm. You give the configuration OWASP states for that algorithm. You say where the setting is documented. You mention that the stored value is wrapped in an HMAC before it reaches the database, if that is how the system is built. You do not offer a number you cannot support.
If the system uses Argon2id, you state the memory cost, iteration count, and parallelism as configured. If it uses bcrypt because the platform predates Argon2id, you state the work factor and confirm the password length boundary. If it uses PBKDF2 because the customer's environment requires FIPS-140, you state the iteration count and the internal HMAC choice.
Then you close the item. No hedging, no promises about future roadmaps, no claims about certifications you have not seen in writing. The questionnaire is a record of what you said today. It should be true tomorrow.
Checklist before you send the questionnaire back
Run this list once before you submit. It takes a few minutes and prevents the follow-up round that delays a renewal.
Name the algorithm. Argon2id, bcrypt, or PBKDF2, whichever the system uses. Not a category, not a brand name for a library.
Give the configuration. The exact figures OWASP states for that algorithm, in the same units OWASP uses.
Confirm the storage step. Say whether the final value is wrapped in an HMAC before it is written to the database.
State the fast-hash position. Confirm that no fast hash such as SHA-256 alone is used for password storage.
Attach the reference. Link to the OWASP password storage guidance so the reviewer can check your figures themselves.
Ask the open question once. If your customer's environment raises a requirement beyond these settings, ask their security lead directly, then record the answer with the questionnaire. For questions about reset flows, see Password reset links: 6 rules for customer support.
Next step today: Open your current questionnaire, find the password storage item, and ask your vendor which algorithm it uses and the settings it runs. Write both into the answer before you reply.
FAQ
What is the single best answer if I only get one sentence?
Name the algorithm and its configuration in OWASP's terms. A sentence that says the system stores passwords with Argon2id at a stated memory cost answers the real question. A sentence that says "we follow best practices" does not.
Is SHA-256 ever acceptable for password storage?
No, not on its own. OWASP says fast hashes like SHA-256 are unsuitable for password storage because they let attackers run large numbers of guesses quickly. SHA-256 can appear inside PBKDF2 as the HMAC's internal hash, which is a different role from hashing the password directly.
My vendor uses bcrypt. Is that a problem for renewal?
Not by itself. OWASP accepts bcrypt on legacy systems at a work factor of 10 or more with a 72-byte password limit. The problem arises only if the work factor is below that floor, or if the 72-byte boundary is unhandled while long passphrases are promised.
What does FIPS-140 have to do with this?
If the customer's environment requires FIPS-140 compliance, OWASP directs you to PBKDF2 with a work factor of 600,000 or more and HMAC-SHA-256 as the internal hash. That is the configuration to quote when the requirement appears in the questionnaire.
Why does the stored value sometimes involve two hashing steps?
Because the slow function derives a password hash, and that result is then hashed again with an HMAC before it is stored. The HMAC choice depends on the output length the system needs. If you see both steps described in a vendor's architecture note, that matches the structure OWASP describes.
Can I ask for numbers beyond the stated minimums?
You can ask, but ask the right person. Questions about a specific system's hardware headroom, or how long its hashes would hold under attack, belong with the vendor's engineering lead. The guidance sets floors; your customer's reviewer wants to know how far above those floors the system sits.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.