# Functions
GenerateOTP return one time password or an error if occurs The function compliant with RFC 4226, and implemented as mentioned in section 5.3 See https://tools.ietf.org/html/rfc4226#section-5.3.
GenerateSecret return base32 random generated secret.
New return's new Verifier, with defaults values.
NewKey return's new Key.
NewKeyFromRaw return's key from raw string.
# Variables
ErrMaxAttempts is returned by Verifier, When the verification failures count equal the max attempts.
ErrWeakSecretSize is returned by GenerateSecret, when input secret size does not meet RFC 4226 requirements.
# Type aliases
Digits represents the length of OTP.
HashAlgorithm represents the hashing function to use in the HMAC.
Type represent OTP type (TOTP, HOTP).
VerificationDisabledError is returned by Verifier when the password verification process disabled for a period of time.