After a breach of its user database, which stored unsalted SHA-256 password hashes, a company redesigns storage. Identical passwords must yield different stored values, offline guessing must be slow, and plaintext must not be recoverable. Which design meets all three?
Show the answer
Correct answerD. Per-user random salts with a tunable-cost, memory-hard hash such as Argon2
AWhy not this: A shared salt gives identical passwords identical hashes, and one fast round is cheap to guess offline.
BWhy not this: Unique salts separate identical passwords, but one fast SHA-3 round lets attackers guess very quickly offline.
CWhy not this: Encryption is reversible, so anyone with key access can recover every plaintext password.
DWhy this is right: Unique salts vary each hash, a tunable work factor slows guessing, and hashing cannot be reversed.
Per-user salts make identical passwords hash differently, and a tunable-cost, memory-hard hash makes each offline guess expensive, while hashing is one-way. A single fast round, even with unique salts, still allows rapid guessing.