1 unstable release
0.1.0 | Sep 20, 2021 |
---|
#356 in No standard library
9KB
188 lines
one-time
Compute HOTP and TOTP values according to RFCs 4226 and 6238.
This implementation is digest-agnostic.
Features
All features are disabled by default.
std
: makesError
implementstd::error::Error
and usesstd::time::SystemTime
fortotp_now
libc
: use libc for getting the time fortotp_now
If std
and libc
are both enabled, libc
will be used for totp_now
.
Dependencies
~355–540KB
~12K SLoC