Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
deskpro
· 13y ago · 0 comments
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.
Comments
[–]
leapius
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.