Application Security · Flashcard
How should an application store user passwords?
Why this is the answer
A slow, per-user-salted KDF makes cracking and rainbow tables infeasible (CWE-916) — a single fast SHA-256 is mass-crackable on GPUs, reversible encryption means a key leak exposes every password, and one shared salt lets identical passwords be attacked together.
Read more in the docs