We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
generateP256KeyPair
Get this error:
crypto.getRandomValues is not a function
Upgrading to NodeJS 20 fixes
The text was updated successfully, but these errors were encountered:
@BriungRi that's strange, I see in the documentation that crypto.getRandomValues was added in v15:
crypto.getRandomValues
Locally I also checked that v18 includes this function:
❯ node Welcome to Node.js v18.18.2. Type ".help" for more information. > let r = new Uint8Array(32); crypto.getRandomValues(r) Uint8Array(32) [ 235, 162, 160, 49, 17, 226, 23, 241, 165, 58, 223, 196, 122, 246, 14, 17, 196, 84, 47, 239, 92, 72, 135, 31, 1, 91, 124, 162, 20, 99, 40, 3 ]
Sorry, something went wrong.
No branches or pull requests
Get this error:
Upgrading to NodeJS 20 fixes
The text was updated successfully, but these errors were encountered: