3 ms·
Yes there is. A hash function does protect a user's password. If you don't believe me, consider this hash function H(A) = (A>>1)&0xFFFFFFFF There. Hash funct
by Xk 16y ago
Yes there is. A hash function does protect a user's password.
If you don't believe me, consider this hash function
H(A) = (A>>1)&0xFFFFFFFF
There. Hash function. It sends any input to a 32 bit value. Would you use it for your password though? No. I certainly would not.
Granted, that is an incredibly weak example, but it's one that's easy to see why it's weak, and thus why a hash function does protect a user's data.
- tedunangst 16y agook, that's a fair point. i guess i just believe bcrypt does a better job than that. :)