I want to know the security risk in responding with my user’s email address in res.json({}) and also the security risk in saving plain text email to database.
if there are, how can I avoid this?
I use MERN stack
I tried to hash email address but it wasn’t practical as hashing is a one way function
New contributor
devhabeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.