1 unstable release
0.1.0 | Oct 8, 2022 |
---|
#1062 in Authentication
10KB
206 lines
otp-simple
lib.rs
:
A simple implementation of the TOTP and HOTP algorithms.
Note: Most functions in this crate will require a hash function to be specified via a type parameter. It is recommended to specify SHA-1 for maximum compatibility, but many clients also support using SHA-256 and SHA-512.
Dependencies
~0.5–1.1MB
~24K SLoC