-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Add a native support of Argon2 hashing algorithm #34452
Comments
openssl/openssl#4091 - until openssl adds support for it, there's nothing actionable for Node.js. I'm going to close this for now but it can be reopened once upstream support materializes. |
Hey everyone! The PR that introduces argon2 support is pretty close to being merged. I think we can re-open this issue. |
We can do that when we upgrade to an openssl release that supports it. |
openssl merged the argon2 api last month \o/ |
Yeah, but AFAIK they haven’t made a release with it yet |
OpenSSL 3.2.0 has support for ArgonId. Let's reopen and start by switching to that OpenSSL release 😁 |
I'm trying to find info on how to use the OpenSSL integration with Node for ArgonId hashing, any tip here? Or is it not available/exposed yet from OpenSSL to the Node API? Or is OpenSSL 3.2 not supported yet? What I've tried:
Tried also to just specify the hashing algorithm, but that also didn't work (I tried multiple possible variations): import { createHash } from "node:crypto";
const hash = createHash("argon2"); // argon2id, argon2Id, argonId2, etc
// Digest method not supported (at this point and after reading many Github threads, I believe there's no support yet, but wanted to double check here) |
/cc @bnoordhuis 😀 |
OpenSSL has been supported argon2 for over a year. When can we have native argon2 support in Node.js? |
For those interested, seems like progress is now happening here: |
Is your feature request related to a problem? Please describe.
Currently Node.js provides a native support of
scrypt
, which is good but isn't the most secure option.Describe the solution you'd like
It would be great to have a native support of
argon2
viacrypto
module, just likescrypt
has nowadays.Describe alternatives you've considered
An
argon2
npm module for Node.js.The text was updated successfully, but these errors were encountered: