Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i use this module in password encryption? #21

Closed
izaanjahangir opened this issue Jan 26, 2020 · 1 comment
Closed

Can i use this module in password encryption? #21

izaanjahangir opened this issue Jan 26, 2020 · 1 comment

Comments

@izaanjahangir
Copy link

Is it secure to use this library for password encryption? My use case is different the password i am storing is actually an API key. so i can't go with one way HASH. i want to store the password in encrypted form in the database and later on decrypt it and send it to the API

@MauriceButler
Copy link
Owner

I suggest you do some research into aes-256-gcm as this is the algorithm used by this module.

And then use that information, along with your attack vector risk analysis to determine if aes-256-gcm would suit your requirements or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants