# Functions
Authorize takes the headers and returns the username of the user if the token is valid.
CheckPasswordHash checks a password hash.
HashPassword hashes a password securely.
MakeToken makes a new jwt token for a user.
ValidatePassword returns true if string is a valid password format At least one upper case English letter At least one lower case English letter At least one digit At least one special character Minimum eight in length.
ValidateToken returns the username and domain associate with the token if it is valid.
# Constants
MaxPassLength is the maxiumum length allowable for passwords.
MaxUsernameLength is the maxiumum length allowable for usernames.
MinPassLength is the minimum length allowable for passwords.
MinPasswordLength is the minimum length allowable for passwords.
MinUsernameLength is the minimum length allowable for usernames.