i have a question about the use of hashing:
Why shouldn’t I have all the Data I insert in the Database hashed instead of only hashing the password?
Wouldn’t it be more secure to hash all values(emails etc.), so an attacker can’t get anything, instead of everything except the password?
Why is it common to only hash the password?
Thanks for your help!
>Solution :
Well because hashing is one-way transaction, so you can’t "unhash" the data. What purpose would that data then serve, if you can’t read it and user needs to insert it every time again every time you need to process the data in any way?