Docs.rs
motp-0.1.0
motp 0.1.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
paulollivier
Dependencies
chrono ^0.4
normal
clap ^2.33.1
normal
md5 ^0
normal
Versions
75%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate motp
motp
0.1.0
All Items
Crate Items
Constants
Functions
Crate
motp
Copy item path
Source
Constants
§
DEFAULT_
OTP_
VALID_
PERIOD
A commonly used period for OTP checking
Functions
§
check_
otp
Verifies a give otp code according to shared secrets (secret & pin)
create_
otp
Creates a 6-character OTP