现在我们可以使用Go 的 bcrypt 包提供的 GenerateFromPassword(password []byte, cost int)([]byte, error) 方法对用户的密码进行hash 和salt 加密了。
確定! 回上一頁