Crate libauthenticator[][src]

Enums

Algorithm

Statics

DEFAULT_DIGITS
HOTP_DEFAULT_COUNTER
STEAM_CHARS
STEAM_DEFAULT_DIGITS
STEAM_DEFAULT_PERIOD
TOTP_DEFAULT_PERIOD

Functions

format
hotp

Performs the HMAC-based One-time Password Algorithm (HOTP) given an RFC4648 base32 encoded secret, and an integer counter.

is_valid

Validates if secret is a valid Base32 String.

remaining_time
steam
time_based_counter