daegalus / dart-otp

RFC6238 Time-Based One-Time Password / Google Authenticator Library
MIT License
100 stars 25 forks source link

how can i set length to 4 #26

Closed muhammednazil closed 3 years ago

daegalus commented 3 years ago

https://daegalus.github.io/dart-otp/api/otp/OTP/generateTOTPCodeString.html Set the Length optional parameter to 4.