#steam #totp #login

steam_guard

一个简单的TOTP crate,旨在用于Steam Guard身份验证

1个稳定版本

使用旧的Rust 2015

1.0.1 2019年12月18日

#1056 in 身份验证

MIT许可证

6KB
84

steam_guard

用于轻松获取Steam Guard身份验证码。前提是你有共享密钥

用法

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

用于轻松获取Steam Guard身份验证码。前提是你有共享密钥

用法

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));

依赖项

~315KB