r/programming • • Jun 02 '17

Hacker, Hack Thyself | Coding Horror

https://blog.codinghorror.com/hacker-hack-thyself/
1.1k Upvotes

205 comments sorted by

View all comments

Show parent comments

2

u/louiswins Jun 02 '17

A salt isn't meant to make any one password hash harder to crack. It's so that you can't build a reverse hash -> password lookup function (a.k.a. rainbow table) ahead of time.

1

u/recycled_ideas Jun 03 '17

True, and I wasn't suggesting people not salt. I was explaining why a salt doesn't protect you from this. If you had a way of adding a salt that the system didn't know, that'd be essentially uncrackable because it would be a really long password.

If there's a way to do that though that doesn't essentially require the user to use a long password or create a dependency on some additional storage.