Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is a password salt called a "salt"? [closed]

Tags:

passwords

salt

Is there a significance to the word "salt" for a password salt?

like image 657
Kyle Heironimus Avatar asked Oct 28 '08 21:10

Kyle Heironimus


People also ask

Is encryption salt a secret?

The "salt" is used to make two otherwise equal passwords encrypt differently. This way, an intruder can't efficiently use a dictionary attack against a whole list of encrypted passwords. The (shared) "secret" is added before hashing a message, so that an intruder can't create his own messages and have them accepted.

What is salting a password and how does it work?

Salting is simply the addition of a unique, random string of characters known only to the site to each password before it is hashed, typically this “salt” is placed in front of each password. The salt value needs to be stored by the site, which means sometimes sites use the same salt for every password.

Should password salt be secret?

It is standard practice not to keep the salt secret but to save it with the password hashed verifier. If the salt is not secret a brute force search is possible if the password is weak such as being on a list of frequent passwords. One example source of such frequent passwords is SecLists.

What is salt in password authentication?

A salt is a piece of random data added to a password before it is hashed and stored. Adding a salt to stored passwords is a security process used alongside the hashing of passwords before they are stored.


2 Answers

Maybe because salt goes well with hash?

like image 116
Jim Buck Avatar answered Sep 20 '22 17:09

Jim Buck


http://www.derkeiler.com/Newsgroups/comp.security.misc/2003-05/0154.html

The use of the word "salt" is probably a reference to warfare in ancient times, when people would salt the wells or farmland to make it less hospitable. The Romans are sometimes supposed to have done this to Carthage in 146 BC. In the context of passwords, a "salted" password is harder to crack.

Apparently, there's no strong evidence even for the original "salting" of Carthage (http://en.wikipedia.org/wiki/Salting_the_earth) claim, but an interesting hypothesis nonetheless.

like image 21
micahwittman Avatar answered Sep 19 '22 17:09

micahwittman