Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPassword ¶
check if plain string password is the equivalent of a given hash
func CreateUser ¶
func HashAndSalt ¶
hash and salt plain string password, returns the hashed password
func ValidateEmail ¶
validate through REGEX if a string is a valid email address
func ValidatePassword ¶
checks if a string has at least 8 characters at least 1 number and at least one uppercase
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.