# Functions
DetermineValidatorAlgorithm determines the validator algorithm based on the given hash.
GenerateHash generates a hash of the given password using the provided hasher algorithm.
GetValidatorFunc determines the validator function based on the given hash.
NewBcryptHasher returns a new bcrypt hasher with the default configuration.
NewMd5Hasher returns a new md5 hasher with the default configuration.
ValidateHash validates the given password hash against the given password using the provided validator algorithm.
# Variables
Bcrypt is the bcrypt implementation of the Hasher interface.
BcryptVal is the bcrypt implementation of the Validator interface.
DefaultBcryptConfig is the default configuration for bcrypt hashing.
DefaultHasher is the default hasher used by the package.
DefaultMd5Config is the default configuration for md5 hashing.
ErrMismatchedHashAndPassword is returned when the password hash and password do not match.
ErrUnknownHashAlgorithm is returned when the hash algorithm is unknown.
Md5 is the MD5 implementation of the Hasher interface.
Md5Val is the MD5 implementation of the Validator interface.
# Structs
BcryptConfig is the configuration for bcrypt hashing.
BcryptHasher is the bcrypt implementation of the Hasher interface.
BcryptValidator is the bcrypt implementation of the Validator interface.
Md5Config contains the settings specific for md5 hashing.
Md5Hasher is the md5 implementation of the Hasher interface.
Md5Validator is the md5 implementation of the Validator interface.
# Type aliases
ValidatorFunction is a function type that validates a password hash against a password.