Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePasswords ¶
ComparePasswords 验证密码是否正确(对比 已哈希过的密码 与 原始明文密码 是否匹配。).
@param hashedPassword HashPassword() 的返回值 @param plainPassword 密码明文 @return err == nil: 已哈希过的密码 与 原始明文密码 匹配
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.