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

6

u/McMasilmof Feb 21 '18

Https just encrypts the transport to prevent wiretapping(aka man in the middle). The client/your browser knows the password anyway so you dont need to encrypt it there. The server just hashes the password to compare it to the serverside stored hash(bc storing the password in plaintext on the server would be a sceurity risk)

0

u/Fear_UnOwn Feb 21 '18

But I do get that encrypting it count side doesn't help because it still gets typed into the client side before hashing.

-1

u/Fear_UnOwn Feb 21 '18

Yea I'm pretty sure we're on the same page here then lol.