Docs.rs
aivpn-common-0.4.0
aivpn-common 0.4.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
infosave2007
Dependencies
bincode ^1.3
normal
blake3 ^1.8
normal
bytes ^1.5
normal
chacha20poly1305 ^0.10
normal
chrono ^0.4
normal
ed25519-dalek ^2.0
normal
hex ^0.4
normal
hmac ^0.12
normal
rand ^0.8
normal
rmp-serde ^1.1
normal
serde ^1.0
normal
serde_bytes ^0.11
normal
serde_json ^1.0
normal
sha2 ^0.10
normal
subtle ^2.5
normal
thiserror ^1.0
normal
tokio ^1.35
normal
optional
tracing ^0.1
normal
x25519-dalek ^2.0
normal
zeroize ^1
normal
Versions
38.35%
of the crate is documented
Platform
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
Skip to main content
random_bytes
aivpn_
common
0.4.0
In aivpn_
common::
crypto
aivpn_common
::
crypto
Function
random_
bytes
Copy item path
Source
pub fn random_bytes(len:
usize
) ->
Vec
<
u8
>
ⓘ
Expand description
Generate random bytes