password

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 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

Hash 进行加密

func IsHashed

func IsHashed(str string) bool

IsHashed 检查密码和hash是否已经加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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