r/programming • • Feb 20 '18

A CSS Keylogger

https://github.com/maxchehab/CSS-Keylogging
2.0k Upvotes

276 comments sorted by

View all comments

Show parent comments

2

u/Schmittfried Feb 21 '18

No, then the transferred hash would be the actual password so a leaked database would allow attackers to log in by sending those hashes. If you hash client-side, you need a second hashing step on the server as well.

3

u/McMasilmof Feb 21 '18

You are right your new password would just become the hash of your password, but i was refering to hashing client side and then serverside again. As i said it just wouldnt add security but its not removing it ether.

If hashing multiple times wont reduce entropy.