Crates.io | steam_guard |
lib.rs | steam_guard |
version | 1.0.1 |
source | src |
created_at | 2019-12-18 06:52:29.960302 |
updated_at | 2019-12-18 07:05:15.764238 |
description | A Simple TOTP crate intended for steam guard authentication |
homepage | |
repository | https://github.com/SFort/steam_guard |
max_upload_size | |
id | 190198 |
size | 6,916 |
Is used to easily get steam guards authentication code. provided you have the shared secret
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));