Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Hashing every data input instead of only hashing the password

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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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?

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading