Crates.io | rsotp |
lib.rs | rsotp |
version | 0.1.0 |
source | src |
created_at | 2021-04-23 05:11:52.062884 |
updated_at | 2021-04-23 05:11:52.062884 |
description | A Rust library for generating and verifying one-time passwords |
homepage | |
repository | |
max_upload_size | |
id | 388446 |
size | 13,404 |
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.