otp 1.0.1 copy "otp: ^1.0.1" to clipboard
otp: ^1.0.1 copied to clipboard

outdated

RFC6238 Time-Based One-Time Password / Google Authenticator Library

example/example.dart

import "package:otp/otp.dart";

main() {
  var code = OTP.generateTOTPCode(
      "JBSWY3DPEHPK3PXP", DateTime.now().millisecondsSinceEpoch);
  print(code);
}
173
likes
0
pub points
96%
popularity

Publisher

verified publisheryuli.dev

RFC6238 Time-Based One-Time Password / Google Authenticator Library

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

base32, crypto

More

Packages that depend on otp