Error: “error: 0308010C: numeric wrapper routines:: not supported” when using Crypto module in Node.js

[ad_1]

I am developing a Node.js application and encounter a crypto module related error when using cryptographic hash functions. Here is the error message I see:

error: 0308010C: numeric envelope routines:: not supported at new hash(node:internal/crypto/hash:71:19) at object.createHash(node:crypto:133:10) at module. \Desktop\StudyNotion\node_modules\webpack\lib\util\createHash.js:90:53) at handleParseError (C:\Users\Dell\Desktop\StudyNotion\node_modules\webpack\lib\NormalModule.js:434:10) at C:\Users\Dell\Desktop\StudyNotion\node_modules\webpack\lib\NormalModule.js:466:5 on C:\Users\Dell\Desktop\StudyNotion\node_modules\webpack\lib\NormalModule.js:327:12 on C:\Users\Dell\Desktop\StudyNotion\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (C:\Users\Dell\Desktop\StudyNotion\node_modules\loader-runner\lib\LoaderRunner. js:214:10) on iterateNormalLoaders (C:\Users\Dell\Desktop\StudyNotion\node_modules\loader-runner\lib\LoaderRunner.js:221:10)

The error seems to be related to creating a hash using the crypto module’s createHash function. I tried updating Node.js, clearing cache and reinstalling dependencies, but the error persists.

Can anyone help me understand the cause of this error and give me advice on how to fix it? Any ideas or suggestions would be greatly appreciated. THANKS!

Sources

1/ https://Google.com/

2/ https://stackoverflow.com/questions/76355069/error-error0308010cdigital-envelope-routinesunsupported-when-using-crypto

The mention sources can contact us to remove/changing this article

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts