otp_auth library

Pure Dart HOTP (RFC 4226) and TOTP (RFC 6238) implementation.

Classes

Base32
RFC 4648 Base32 codec.
HOTP
HMAC-based One-Time Password (RFC 4226).
OTPUri
Parses and builds otpauth:// URIs (RFC 6238 Appendix / Google Authenticator).
TOTP
Time-based One-Time Password (RFC 6238).

Enums

OTPAlgorithm
Hash algorithm for OTP generation.