3 ms·
No, if you have the salt and the client side hash then you do a dictionary attack and you have their plaintext password, the one they presumably use on multiple
by jedberg 7y ago
No, if you have the salt and the client side hash then you do a dictionary attack and you have their plaintext password, the one they presumably use on multiple sites.
All you've done is move your attack from the server to the client. It's the same attack on both ends.
- Spivak 7y agoThis doesn't do anything to make a weak password stronger, it makes a strong password resilient to being compromised over the wire or by an errant console.log(http_request) on the server. If the password is so weak that you can just invert the hash then there's not much that can help you.
- jedberg 7y agoIf they're on the server seeing your console.log, then they can just change the javascript to stop hashing the passwords on the client side.