News for hackers. Stuff that matters.
Re:Speed Hashing by gws on Friday April 06, 2012 @08:37AM (#3806901)
Because it's stored in a database. If an attacker has access to the database with the hashed passwords she will likely have access to the database with the salt too.
Re:Speed Hashing by Misiek on Friday April 06, 2012 @08:42AM (#3806921)
but only the second salt is stored in a database, the first salt is stored under WWW-Root.
Re:Speed Hashing by gws on Friday April 06, 2012 @08:47AM (#3806932)
It's still there on the server, if the attacker has her hands on the database you have to assume that the entire server might be compromised
Re:Speed Hashing by Misiek on Friday April 06, 2012 @08:53AM (#3806941)
What is the best way to secure passwords?
Re:Speed Hashing by gws on Friday April 06, 2012 @09:07AM (#3806980)
You need to assume that the attacker will have access to anything on the server. So first thing is clearly no plain text passwords but hash only. Second thing is make as hard as possible for the attacker to decode the hash. One salt helps preventing use of rainbow tables but more salt is useless since the attacker has them. So you are left with choosing a hard algorithm to crack and currently the best one is bcrypt which is already implemented in most programming language for you.