How to encrypt - decrypt password with bcrypt code example
Example: bcrypt create encrypted password
bcrypt.hash(password, 12).then(hash => {
console.log(hash)
});
bcrypt.hash(password, 12).then(hash => {
console.log(hash)
});