Crate libr2fa

source ·

Re-exports

Modules

Structs

  • 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 is the key for the TOTP, TOTP is the time based key,
  • the URI struct

Enums

  • Error type for the library
  • HMACType is the type of the HMAC SHA1 is the default SHA256 is the recommended SHA512 is the most secure
  • 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)

Traits

Functions