otpauth-rs
Two-step verification of HOTP/TOTP for Rust.
Installation
Add it to your Cargo.toml
:
[]
= "*"
Add extern crate otpauth
to your crate root and your're good to go!
Examples
HOTP example
extern crate otpauth;
use HOTP;
TOTP example
extern crate otpauth;
extern crate time;
use TOTP;
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.