Internal helper utilities exposed on the default export.
Input validation helpers exposed on the default export.
Generates a token for a specific counter value.
Decoded secret bytes.
Time-step counter.
Number of digits to return.
HMAC algorithm.
A zero-padded TOTP token.
Generates an otpauth URI and associated secret.
TOTP configuration values.
The generated otpauth URI and secret.
Verifies a token against a shared secret.
User-provided token.
Canonical unpadded Base32 secret.
Optionaloptions: Partial<VerifyTokenOptions>Verification overrides.
true when the token is valid for the given window.
RFC 4648 Base32 helpers.