Why is a password salt called a "salt"?

PasswordsSalt

Passwords Problem Overview


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

Passwords Solutions


Solution 1 - Passwords

Maybe because salt goes well with hash?

Solution 2 - Passwords

<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.

Solution 3 - Passwords

The only meaning is that you are adding something to your password before you hash it, similarly to adding salt to your meal :-)

Solution 4 - Passwords

According to Ken Thompson, one of the first people to use the term in a book, it's related to the term "salting a mine", referring to gold mines. Whether that is "correct" or not who knows? I doubt there's an actual correct answer to this, it's just one of those terms that doesn't really have to have a reason as long as what it means is understood.

Solution 5 - Passwords

I would guess because it's easy to add "salt" (NaCl or a fixed string). But once you do, the output is irrevocably changed (food, encrypted password).

Solution 6 - Passwords

I had thought it related to the verb salt ...

(salt away) informal put by (money) secretly. 

-- <http://www.askoxford.com/concise_oed/saltx?view=uk>

Solution 7 - Passwords

Because before you hash the password, you add a random text to it. So, it looks like as if you add some "salt" to the original "food" ... password :)

Solution 8 - Passwords

Once you add salt to food the real taste is no longer visible. So basically this is a figurative saying; add a little salt and it changes the original dish.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKyle HeironimusView Question on Stackoverflow
Solution 1 - PasswordsJim BuckView Answer on Stackoverflow
Solution 2 - PasswordsmicahwittmanView Answer on Stackoverflow
Solution 3 - PasswordsLeopold CimrmanView Answer on Stackoverflow
Solution 4 - PasswordsGeraldView Answer on Stackoverflow
Solution 5 - Passwordsjwmiller5View Answer on Stackoverflow
Solution 6 - PasswordsFionnualaView Answer on Stackoverflow
Solution 7 - PasswordsmohammednView Answer on Stackoverflow
Solution 8 - PasswordsMiyakaView Answer on Stackoverflow