Bcrypt和Scrypt加密
目录Bcrypt加密:Scrypt加密Bcrypt加密:package mainimport ( "fmt" "golang.org/x/crypto/bcrypt")func HashPassword(password string) (string, error) { bytes, err := bcrypt.GenerateFromPassword([]byte(password), 14) return string(byt