Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
Hash takes a string and returns a byte array and an error The byte array is the hashed version of the string The error is nil if the hashing was successful
func VerifyPassword ¶
VerifyPassword takes a hashed password and a plain text password It returns an error if the plain text password does not match the hashed password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.