dart_totp 1.0.0

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

从密钥生成TOTP验证码 Generate TOTP tokens from key

Features

Generate TOTP two-factor authentication code.

Usage

to /example folder.

import 'package:dart_totp/dart_totp.dart';

void main() {
  String totp = TOTP.generateTOTP('KVARB3JSYG6RNYY7HJX2N6ZTUSOXU5RK');
  print('awesome: $totp'); //277911
}