Docs.rs
otp-0.2.0
otp 0.2.0
Permalink
Docs.rs crate page
Links
Repository
Crates.io
Source
Owners
pantsman0
Dependencies
hmac ^0.12.1
normal
sha1 ^0.10.6
normal
Versions
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
☰
otp
0.2.0
?
Function
otp
::
totp
source
·
[
−
]
pub fn totp(secret: &[
u8
], time:
SystemTime
, window:
Duration
) ->
u32