Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePasswords ¶
ComparePasswords verify if a given password (plainPwd) corresponds to the hashedPwd from User Database
func HashAndSalt ¶
HashAndSalt calculates the salted hash for the given password
func Sha256Hash ¶
Sha256Hash calculates the sha256 hash of a string
func ValidatePasswordHash ¶
ValidatePasswordHash verifies that the given string is a valid password hash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.