Learn how to use the bcrypt Node module to hash a password and save it in a MongoDB database.
The bcrypt module only runs under Python 2 (not Python 3). You can read more about this on the bcrypt Node.js package page. In addition, Andrew Chalkley explains how to overcome this problem in his npm Basics course in the Installing Local Packages video.
You need to sign up for Treehouse in order to download course files.Sign up