从密钥生成TOTP验证码 Generate TOTP tokens from key
More...
Generate TOTP two-factor authentication code.
to /example folder.
/example
import 'package:dart_totp/dart_totp.dart'; void main() { String totp = TOTP.generateTOTP('KVARB3JSYG6RNYY7HJX2N6ZTUSOXU5RK'); print('awesome: $totp'); //277911 }
mfacode.cn
Repository (GitHub)
API reference
Apache-2.0 (license)
base32, crypto
Packages that depend on dart_totp
Back