Modules§
Structs§
- After
Error - Error indicating that a value exceeds allowed point.
- Drift
Behind Error - Error indicating that a value exceeds the allowed drift.
- HOTP
- Represents an HOTP (HMAC-based One-Time Password) generator.
- Invalid
Secret Error - Error invalid Secret.
- OtpGeneric
Error - Generic OTP error with a message.
- Radix
- Numeric radix (base) between 2 and 36.
- Radix
Error - Error for invalid radix values (must be 2..=36).
- Secret
- Represents a secret as a vector of bytes.
- Secret
Error - Error type for secret-related operations.
- TOTP
- Represents a TOTP (Time-based One-Time Password) generator.
- Unsupported
Algorithm Error - Error for unsupported algorithm in OTP.
- Unsupported
Interval Error - Error for unsupported OTP interval.
- Unsupported
Length Error - Error for unsupported OTP code length.
- Unsupported
Radix Error - Error for unsupported radix in OTP.
Enums§
- Algorithm
- Enum representing the supported hashing algorithms.
Traits§
- Algorithm
Trait - Trait for defining common behavior for different hashing algorithms.
- OtpError
- Trait for all OTP-related errors.
Functions§
Type Aliases§
- OtpResult
- Result type alias for OTP operations.
- Radix
Result - A specialized
Resulttype for operations that may return aRadixError. - Secret
Result - Result type for secret operations.