Registry / auth / oath
library0.10.2rscratesunverified

An implementation of OATH algorithms in Rust. Includes TOTP, HOTP, and OCRA.

# Cargo.toml [dependencies] oath = "0.10.2"
INSTALL
IMPORT
SIG · OATH
O
oath
authrustv0.10.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

totp
use oath::totp;

Generates a time-based one-time password (TOTP).

use oath::totp; fn main() { let secret = b"12345678901234567890"; let code = totp(secret, 30, 6); println!("TOTP: {}", code); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Amazon
1
Resources
oath — cargo add oath · libregistry