password

package
v0.0.0-...-8f419a9 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHash

func CheckHash(password string, hash string) bool

CheckHash 检查密码是否与hash值匹配

func Hash

func Hash(password string) (string, error)

Hash hash加密

func IsHashed

func IsHashed(str string) bool

IsHashed 检查是否已经加密过

func Md5Str

func Md5Str(str string) string

Md5Str 获取一个md5加密字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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