Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶
ComparePassword compares a plain text password with an encrypted password, returning true if they match
func HashAndSalt ¶
HashAndSalt takes in a plan text password and returns the hashed and salted value
func ValidateMFA ¶
Types ¶
type NewTOTPOutput ¶
func GenerateMFA ¶
func GenerateMFA(issuer string, username string) NewTOTPOutput
Click to show internal directories.
Click to hide internal directories.