Why is this a weak choice?
stored = sha256(password)
- It is far too fast to compute
- It produces too short a digest
- It cannot handle long inputs
- It is not a published standard
Password hashes should be slow; bcrypt or Argon2 add deliberate work per guess.
Play Cybersecurity ▸