Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToByte ¶
ConvertToByte converts a string to a byte
func GenerateHashedPassowrd ¶
GenerateHashedPassowrd generates a bcrypt password that is hashed, if there is no error, it converts the byte to a string, and returns a nil error otherwiser it return and empty sting and the error
func VerifyPassword ¶
VerifyPassword takes the hashed password and plain password submitte and verifys them. Returns true if they match, or false if not
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.