Crate rust_otp

Source

Enums§

Error

Functions§

make_hotp
Performs the HMAC-based One-time Password Algorithm (HOTP) given an RFC4648 base32 encoded secret, and an integer counter.
make_totp
Performs the Time-based One-time Password Algorithm (TOTP) given an RFC4648 base32 encoded secret, the time step in seconds, and a skew in seconds.