Docs.rs
libauthenticator-0.1.0
libauthenticator 0.1.0
Permalink
Docs.rs crate page
GPL-3.0-or-later
Links
Documentation
Repository
crates.io
Source
Owners
A6GibKm
Dependencies
anyhow ^1.0
normal
data-encoding ^2.3
normal
ring ^0.16
normal
Versions
11.76%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
libauthenticator
0.1.0
All Items
Crate Items
Enums
Statics
Functions
Crate
libauthenticator
Copy item path
Source
Enums
§
Algorithm
Statics
§
DEFAULT_
DIGITS
HOTP_
DEFAULT_
COUNTER
STEAM_
CHARS
STEAM_
DEFAULT_
DIGITS
STEAM_
DEFAULT_
PERIOD
TOTP_
DEFAULT_
PERIOD
Functions
§
format
hotp
Performs the
HMAC-based One-time Password Algorithm
(HOTP) given an RFC4648 base32 encoded secret, and an integer counter.
is_
valid
Validates if
secret
is a valid Base32 String.
remaining_
time
steam
time_
based_
counter