Docs.rs
hitotp-0.1.4
hitotp 0.1.4
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
h1467792822
Dependencies
data-encoding ^2.4.0
normal
hictor ^0.1
normal
hiopt ^0.1
normal
Versions
44.44%
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
hitotp
0.1.4
All Items
Structs
Enums
?
Crate
hitotp
source
·
[
−
]
Expand description
no_std环境,适用于运行环境已经有libcrypto.so提供HMAC和BASE64算法. TOTP也经常使用BASE32算法,采用了支持no_std的crate: data_encoding.
Structs
Totp
提供TOTP算法
Enums
Algorithm
TOTP缺省使用HMAC-SHA1,但也可以使用HMAC-SHA256,HMAC-SHA512
CodeType
密钥可以是BASE32/BASE64编码,Raw代表未做任何编码.