another-steam-totp

Provides functionality relating to Steam TOTP. Based on https://github.com/DoctorMcKay/node-steam-totp. Designed to be easy-to-use while providing all necessary features.

```rs use anothersteamtotp::generateauthcode;

let sharedsecret = String::from("000000000000000000000000000="); let timeoffset = None; // Generates the 5-character time-based one-time password using your sharedsecret. let code = generateauthcode(sharedsecret, time_offset).unwrap();

assert_eq!(code.len(), 5); ```

License

MIT