GoogleAuthenticator
##Introduction This Rust crate can be used to interact with the Google Authenticator mobile app for 2-factor-authentication. This Rust crates can generate secrets, generate codes, validate codes and present a QR-Code for scanning the secret. It implements TOTP according to RFC6238 More about Google GoogleAuthenticator see: https://en.wikipedia.org/wiki/Google_Authenticator
Usage
Add this to your Cargo.toml
:
[]
= "0.1.3"
Examples
use GoogleAuthenticator;
let secret = "I3VFM3JKMNDJCDH5BMBEEQAW6KJ6NOE3";
let auth = new;
//secret = auth.create_secret(32).as_str();
let code = auth.get_code.unwrap;
if auth.verify_code
FAQ
You can post a new issue for help.