Skip to main content

Crate onetimepassword

Crate onetimepassword 

Source
Expand description

§One-Time Password (OTP)

Implementation of HMAC-Based One-Time Passwords (HOTP, RFC 4226) and Time-Based One-Time Passwords (TOTP, RFC 6238).

Structs§

Hotp
Configuration for HMAC-based One-Time Password (HOTP).
Totp
Configuration for Time-based One-Time Password (TOTP).

Enums§

Algorithm
Supported hashing algorithms for TOTP/HOTP.
Error
Potential errors that can occur during TOTP/HOTP generation or validation.