How Does Salted Password Scheme - Applied Cryptography Work?

A salted password scheme is like giving your password a special secret ingredient so it becomes harder for others to guess or steal.

Imagine you have a favorite cookie recipe that you always use when you make cookies. If someone finds out your recipe, they can just copy it and make the same delicious cookies. But if every time you make cookies, you add a different secret spice, like cinnamon one day, chocolate powder another, then even if someone sees one of your cookies, they won’t know what the full recipe is.

That’s how a salted password scheme works. When you create a password, a random salt (like that secret spice) is added to it before it's stored. So instead of just storing "password123", it might store something like "password123cinnamon987".

Now, even if someone steals the list of passwords, they won’t know which salt was used for each one. They’ll have to try matching every password with every possible salt, making it much harder, and slower, to guess your real password.

This makes your online accounts safer, like having a unique secret spice for each cookie you make!

Take the quiz →

Examples

  1. Imagine adding a secret number to your password before storing it, making it harder for hackers to guess.
  2. A baker adds salt to bread dough, similarly, a salted password makes the login process more robust.
  3. Adding random numbers to passwords is like hiding treasure in different spots of a map.

Ask a question

See also

Discussion

Recent activity