#steam #totp #login

steam_guard

A Simple TOTP crate intended for steam guard authentication

1 stable release

Uses old Rust 2015

1.0.1 Dec 18, 2019

#52 in #totp

MIT license

6KB
84 lines

steam_guard

Is used to easily get steam guards authentication code. provided you have the shared secret

Usage:

extern crate steam_guard;
let secret = "123123123Ab=";
println!("Expires in:{}s", steam_guard::expires_in_sec());
println!("Login with:{:?}", steam_guard::from_secret(secret));
println!("Next login code:{:?}", steam_guard::from_secret_future(secret, 1));


lib.rs:

steam_guard

Is used to easily get steam guards authentication code. provided you have the shared secret

Usage:

extern crate steam_guard;
let secret = "123123123Ab=";
println!("Expires in:{}s", steam_guard::expires_in_sec());
println!("Login with:{:?}", steam_guard::from_secret(secret));
println!("Next login code:{:?}", steam_guard::from_secret_future(secret, 1));

Dependencies

~315KB