Re:Salted Password Hashing - Doing it Right
by seanalltogether on Thursday July 05, 2012 @04:52PM
(#4204898)
I was thinking more along the lines of just running the top 100 passwords through each user
Re:Salted Password Hashing - Doing it Right
by Stefan_H on Thursday July 05, 2012 @05:10PM
(#4204987)
Salting is no replacement for strong passwords, this would work against most any salting scheme.
Re:Salted Password Hashing - Doing it Right
by seanalltogether on Thursday July 05, 2012 @07:09PM
(#4205479)
Not if part of the information is kept in code only, like iteration count on bcrypt
There is a chance that if your DB is compromised, your code is as well. Additionally, what if you want to change your work factor, how would you handle doing that? If you upgrade your server environment and then all of a sudden realize that your hashing algorithm only take .1 seconds, when it used to take .5 you might want to change it.
While that may slow down an attacker in some circumstances, a sufficiently secure password scheme will still be secure with total knowledge of the system available to the attacker. See also: security through obscurity.
Additionally, each salt is still unique per password, so the attacker would need to generate a full dictionary per record that they want to crack - generally not worth it.