A stolen database holding unsalted MD5 password hashes was cracked within hours. Which change BEST keeps stored passwords resistant to cracking if the database leaks again?
Show the answer
Correct answerC. Store a unique salt with a slow hash such as bcrypt
AWhy not this: Longer passwords help, but the fast unsalted hash remains the cryptographic weakness.
BWhy not this: The key sits on the same server, so a repeat theft exposes the key and the hashes together.
CWhy this is right: Per-password salts and a deliberately slow algorithm make bulk cracking costly even after a leak.
DWhy not this: SHA-256 without a salt is still fast and open to precomputed and parallel cracking.
A unique salt defeats precomputed tables and shared cracking, and a slow hash makes each guess expensive, fixing the weakness at its source. Encrypting the hashes fails because an attacker who steals the database can also take the key stored on the same server.