3 ms·
Plain text?? A user's password is hashed...You don't need a paint text password to compare text encrypted with it to other text encrypted in the same method. Ei
by bhandziuk 4y ago
Plain text?? A user's password is hashed...You don't need a paint text password to compare text encrypted with it to other text encrypted in the same method. Either they match or they don't. The user's hashed password doesn't leave the server and plain text is never involved.
- b3morales 4y agoIf you use the password's hash as a key, the plain text no longer matters, because the hash is now the thing that an attacker needs to forge a credential. So your database is effectively storing the real password, as if you had not used a hash.
- bhandziuk 4y agoI think I see what you're saying but how would that be useful still? Like is an attacker has a hash of the users password they still don't have the server secret.