Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeauth_totp

A time-based one-time password (TOTP) and HOTP authentication package for Flutter apps.

pub.devRemove
dart_dash_otp

Generate and verify TOTP and HOTP one-time passwords for 2FA and MFA.

pub.devRemove
ScoresHealth5659 (best)
Maintenance42 (best)40
Quality8897 (best)
Popularity21 (best)16
Community4163 (best)
Compatibility100100
UsageDownloads (30 days)1.9k (best)981
Likes1213 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars3 (best)1
MaintenanceLatest release2.0.0, 5 months ago (best)2.0.0, 6 months ago
Major versions in 12 months11
Contributors15 (best)
Publisherrohitchouhan.comdatogedon.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies22
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports SHA-1, SHA-256, and SHA-512 algorithms.
  • Includes offline QR code matrix generation for privacy.
  • Supports backup/recovery codes and URI parsing.
  • RFC test-vector validated against RFC 4226 and RFC 6238 reference vectors.
  • Constant-time verification to prevent timing attacks.
  • Pure Dart with zero Flutter dependencies, supporting multiple algorithms (SHA-1, SHA-256, SHA-384, SHA-512).
Weaknesses
  • Relies on third-party URL APIs if you use the online QR code generation helper.
  • Limited to one-time password logic rather than full identity management.
  • Requires manual implementation of server-side counter persistence and secret management.
  • On the web, integers are exact only up to 2^53, so extremely large HOTP counters require a native-int target.
WarningsNoneNone
auth_totp vs dart_dash_otp: which Flutter package should you use? | pubscout