How to import Crypto module within Node.js statement?

Hi,

I would like to know how to import Crypto into Node.js statement? I’ve found this topic but I’m still not able to import Crypto to my statement.

Can you please share a piece of code where you import Crypto and call i.e. createHash method?

Thank you!

You do not need to (and are not allowed to) import any module in your Node.js statement. All available modules are pre-imported for you.

You just use crypto.createHash function

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.