Menu

1 / 3

Ping64|Why Websites Store Passwords as Salted Hashes Instead of Plain Text

DEV Community: cybersecurity·Cyrus·about 13 hours ago
#Htw6vKnp
Reading 0:00
15s threshold

Every site that asks you to create a password faces a quiet question: where does that password go? Storing it as typed text would be simple, and it would also be a disaster the first time the database leaked. Salted hashing is the standard answer, and it is easier to understand than the name suggests.

This matters to you even if you never touch a server. When you hear that a company was breached, whether your password survives depends on choices made years earlier by its engineers. Knowing the mechanism helps you judge those news stories more calmly.

Two small words carry most of the weight. Hashing means the password is scrambled in a way that cannot be undone, and salting means each account gets its own random twist. The rest is detail.

Simple analogy

Think of a blender. Fruit goes in, a smoothie comes out, and no known process turns the smoothie back into whole fruit.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.