Structsยง
- Totp ๐
Enumsยง
- Algorithm ๐
Constantsยง
- BASE32_
CHARS ๐ - DEFAUL
T_ ๐ALGORITHM - DEFAUL
T_ ๐DIGITS - DEFAUL
T_ ๐PERIOD - STEA
M_ ๐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 ๐