npm i bcryptjs # yarn yarn add bcryptjs
npm install bcrypt
const hash = bcrypt.hashSync(myPlaintextPassword, saltRounds);// Store hash in your password DB.