Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
libeclipse
· 9y ago · 0 comments
I can't think of any security implications of hashing on the client-side. What's your thinking?
Comments
[–]
fnordsensei
9y ago
Does salting work if you hash in the browser?
[–]
libeclipse
OP
9y ago
Well in this case the hash would be passed to Bcrypt or Scrypt, which have built in salt support, so client side salting wouldn't matter.
[–]
shawnz
9y ago
If the hashes are leaked, you could log in with them.
[–]
XorNot
9y ago
Well serverside you store them as plaintext equivalents - i.e. salt+hash the hash. So a leak doesn't leak the user-side.