Language / Technology

Why are passwords stored using hashes?

Short answer

Hashing avoids storing the original password and can reduce harm if a database is exposed.

How it works

Hashing alone is not enough. Secure password systems also use suitable algorithms, salts, strong passwords, and login controls.

Key point

The practical point is this: Secure password systems also use suitable algorithms, salts, strong passwords, and login controls.

References