Crate libr2fa Copy item path Source pub use steam::SteamKey ;
steam HOTPKey HOTPKey is the key for the HOTP,
HOTP is the counter based key,
each time you get a code, the counter will increase by 1,
the counter is stored in the key TOTPKey TOTPKey is the key for the TOTP,
TOTP is the time based key, URI the URI struct Error Error type for the library HMACType HMACType is the type of the HMAC
SHA1 is the default
SHA256 is the recommended
SHA512 is the most secure KeyType KeyType is the type of the key
HOTP is the counter based key
TOTP is the time based key
STEAM is the steam guard key (TODO not implemented yet) Key Key is the interface for the keys OtpAuthKey otpauth_from_uri create a new key from the uri string otpauth_from_uri_qrcode create a new key from the uri qrcode