Node.js/bcryptjs

来自康健生活

引言

const salt = bcrypt.genSaltSync(10)
const psw = bcrypt.hashSync(val, salt)