Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PasswordParams = argon2id.DefaultParams NotMatch = errors.New("the password does not match the hash value") )
Functions ¶
func PasswordHash ¶ added in v0.0.2
PasswordHash 创建密码的散列
func PasswordVerify ¶ added in v0.0.2
PasswordVerify 验证密码是否和散列值匹配
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.