hash

package
v0.0.0-...-7e4f592 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(password, hash string) bool

Check 对比明文密码和数据库的哈希值

func Hashed

func Hashed(str string) bool

Hashed 判断字符串是否是哈希过的数据

func Make

func Make(password string) string

Make 使用 bcrypt 对密码进行加密

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL