Answer the question
In order to leave comments, you need to log in
How to make it possible to decrypt the password?
I have a task to store passwords and email addresses in a DB in encrypted form.
Previously, I used the bcrypt library when I needed to encrypt only the password, but what about the mail, because sometimes I need to pull it out of the database and display it, and bcrypt only has a comparison function, but not decryption. What are the libraries or methods for this? I write in Node.js. Thanks
Answer the question
In order to leave comments, you need to log in
To score, no need to encrypt mail, there is little sense, there are an order of magnitude more problems
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question