|
|
|
|
|
by ikeboy
3661 days ago
|
|
>So that the server never gets any plaintext. Mitigates attacks that exploit the server but not the served js. See also https://security.stackexchange.com/questions/53594/why-is-cl... for some discussion: the first answer has the same thing I proposed, hashing on both the client and server. I guess another benefit might be constant size passwords, which may mitigate side channels or sniffing. How can it hurt? If there's no harm, but some upside, then why not? |
|
As for the disadvantages, it makes logins take longer, forces the use of JavaScript, increases the complexity of code and increases the site size.