Structsยง
- TOTP representation broken down into its components.
Enumsยง
Constantsยง
- BASE32_
CHARS ๐ - DEFAULT_
ALGORITHM ๐ - DEFAULT_
DIGITS ๐ - DEFAULT_
PERIOD ๐ - STEAM_
CHARS ๐
Functionsยง
- decode_
b32 ๐This code is migrated from our javascript implementation and is not technically a correct base32 decoder since we filter out various characters, and use exact chunking. - derive_
binary ๐Derive the OTP from the hash with the given number of digits. - derive_
steam_ ๐otp Derive the Steam OTP from the hash with the given number of digits. - Generate a OATH or RFC 6238 TOTP code from a provided key.
- Generate a OATH or RFC 6238 TOTP code from a provided CipherListView.
Type Aliasesยง
- Hmac
Sha1 ๐ - Hmac
Sha256 ๐ - Hmac
Sha512 ๐