Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
leapius
· 13y ago · 0 comments
ugh, cos md5 squared is twice as secure as just once - why not md5 x 10 to be uber secure?
Comments
[–]
deskpro
13y ago
if my memory is correct this is because they don't have access to $password; they get md5($password) from the client and to store that in the database with a salt need to run md5() again.
[–]
leapius
OP
13y ago
oh ok I thought the usual MO was:
if (md5(password + salt) == stored value) ..
[–]
Pxtl
13y ago
It is, but if you don't have the naked password available at the time that you got your hands on the salt? May as well still salt it.