|
|
|
|
|
by sillysaurus
4797 days ago
|
|
Doesn't storing a hashed and salted version of a user's password accomplish the same thing as storing a user's public key? No, because a public key can't be reversed into a private key. A hashed and salted version of a short-enough password can be reversed (sometimes trivially). |
|
Now that I think about it, you also need to make sure that your hashing mechanism is preimage resistant, which is an additional place to make a mistake, so public keys do have an advantage there.