|
|
|
|
|
by niftich
3661 days ago
|
|
Why wouldn't it be? If salted hashing were done on the client side, it means you're actually sending username + saltedhash, instead of username + password to the server to log in. So an attacker could submit a precomputed or stolen salted hash to be compared against the stored one -- completely defeating the point of hashing passwords in the first place. |
|
So that the server never gets any plaintext.
>So an attacker could submit a precomputed or stolen salted hash to be compared against the stored one -- completely defeating the point of hashing passwords in the first place.
You could hash once on the client and once on the server to get the best (?) of both worlds. Really only the server one needs to be salted.