install bcrypt

C++
npm install bcrypt>> npm install bcrypt

const bcrypt = require('bcrypt');npm install bcrypt
npm install bcryptjsconst hash = bcrypt.hashSync(myPlaintextPassword, saltRounds);// Store hash in your password DB.
Source

Also in C++: