Crate oath [−] [src]
Enums
| HashType |
|
Functions
| from_hex |
This library provides a wrapper around |
| hotp |
Hi-level function, that computes an one-time password using HOTP algorithm.
Same as |
| hotp_raw |
Computes an one-time password using HOTP algorithm.
Same as |
| ocra |
|
| ocra_debug |
|
| totp_custom |
Low-level function, that computes an one-time password using TOTP algorithm.
It's generic over hashing algorithm |
| totp_custom_time |
Computes an one-time password using TOTP algorithm for arbitrary timestamp.
Same as |
| totp_now |
Computes an one-time password for current moment of time using TOTP algorithm.
Same as |
| totp_raw_custom_time |
Computes an one-time password using TOTP algorithm for arbitrary timestamp.
Same as |
| totp_raw_now |
Computes an one-time password for this moment using TOTP algorithm.
Same as |