How to access inbuilt node module? I am trying to access crypto which is now built-in module. I tried require('crypto') as well as import.

https://support.wix.com/en/article/corvid-managing-external-code-libraries-npm-with-the-package-manager

I tried using this but crypto is not supported and other crypto libraries donot have publicEncrypt and privateEncrypt as well as publicDecrypt and privateDecrypt support. For crypto NPM package manager shows error as shown in attached image. Since crypto is now supported built-in module thus npm support for the package is deprecated. It can be accessed using built-in but I am unable to do it now. I can do it on my standalone node installation on my PC but not on Wix.

Did you find a solution to this?

I had to use some other library for this.

Which library did you use, @eurekaamit ? I have code that looks to be completely dependent on this.

hybrid-crypto-js