1 unstable release
0.1.0 | Apr 23, 2021 |
---|
#937 in Authentication
345 downloads per month
13KB
339 lines
rsotp - The Rust One-Time Password Library
rsotp is a Rust library for generating and verifying one-time passwords. It can be used to implement two-factor (2FA) or multi-factor (MFA) authentication methods in anywhere that requires users to log in.
Open MFA standards are defined in RFC 4226 (HOTP: An HMAC-Based One-Time Password Algorithm) and in RFC 6238 (TOTP: Time-Based One-Time Password Algorithm). rsotp implements server-side support for both of these standards.
rsotp was inspired by PyOTP.