Crate otp_std

Source
Expand description

Generating and verifying One-Time Passwords.

Re-exports§

pub use algorithm::Algorithm;
pub use counter::Counter;
pub use digits::Digits;
pub use period::Period;
pub use secret::Length;
pub use secret::Owned as OwnedSecret;
pub use secret::Secret;
pub use skew::Skew;
pub use time::expect_now;
pub use time::now;
pub use base::Base;
pub use base::Owned as OwnedBase;
pub use hotp::Hotp;
pub use hotp::Owned as OwnedHotp;
pub use totp::Owned as OwnedTotp;
pub use totp::Totp;
pub use otp::Otp;
pub use otp::Owned as OwnedOtp;
pub use otp::Type;
pub use auth::Auth;auth
pub use auth::Label;auth
pub use auth::Owned as OwnedAuth;auth
pub use auth::OwnedLabel;auth
pub use auth::OwnedPart;auth
pub use auth::Part;auth

Modules§

algorithm
Hash-based Message Authentication Code (HMAC) functionality.
authauth
One-Time Password authentication.
base
Base One-Time Password (OTP) functionality.
counter
One-Time Password (OTP) counters.
digits
One-Time Password (OTP) digits.
hotp
Hmac-based One-Time Password (HOTP) functionality.
int
Integer parsing errors.
macros
Various macros used by this crate.
otp
One-Time Password (OTP) enums and types.
period
Time-based One-Time Password (TOTP) periods.
secret
Secrets used in OTP generation.
skew
Time-based One-Time Password (TOTP) skews.
time
Current time functionality.
totp
Time-based One-Time Password (TOTP) functionality.