Do i need to install crypto module from npm?

Yalamber picture Yalamber · Apr 22, 2013 · Viewed 31.1k times · Source

I am making use of crypto module in my app. It seems like there is crypto module distributed in nodejs http://nodejs.org/api/crypto.html so do i need to do npm install crypto? what is the difference from https://npmjs.org/package/crypto and nodejs api crypto modules?

Answer

matthewtole picture matthewtole · Apr 22, 2013

If you are using the methods from the Crypto module that comes with NodeJS, i.e. those described on http://nodejs.org/api/crypto.html then no, you do not need to do npm install crypto.