Node.js-bcrypt-password-hashing
This is an interactive example of how to hash passwords in Node.js very securely using bcrypt.
>> WTFPL license - do whatever you wanna do with this code, you don't even have to credit me!
Installation:
- Make sure you have Node.js and npm installed
- Download or clone this repository
- (If downloaded:) Extract the folder inside to somewhere like your Desktop or (if cloned:) go to the local directory of the cloned repository
- (Unix & Windows:) run the command
npm i
in a terminal inside of the dowloaded / cloned folder or (Windows only:) click theInstall Dependencies.bat
file - (Unix & Windows:) run the command
node .
in a terminal inside of the dowloaded / cloned folder or (Windows only:) click theStart.bat
file
Explanation:
This video explains how hashing works with bcrypt and how it is so secure.