Docs.rs
pubky-common-0.6.0
pubky-common 0.6.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
SeverinAlexB
SHAcollision
Dependencies
argon2 ^0.5.3
normal
base32 ^0.5.1
normal
blake3 ^1.5.5
normal
crypto_secretbox ^0.1.1
normal
ed25519-dalek ^2.1.1
normal
once_cell ^1.20.3
normal
pkarr ^3.10.0
normal
postcard ^1.1.1
normal
pubky-timestamp ^0.4.0
normal
rand ^0.9.0
normal
serde ^1.0.217
normal
thiserror ^2.0.11
normal
url ^2.5.4
normal
postcard ^1.1.1
dev
serde_json ^1
dev
js-sys ^0.3.77
normal
Versions
100%
of the crate is documented
Platform
i686-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
random_bytes
pubky_
common
0.6.0
In pubky_
common::
crypto
pubky_common
::
crypto
Function
random_
bytes
Copy item path
Source
pub fn random_bytes<const N:
usize
>() -> [
u8
;
N
]
Expand description
Create an array of random bytes with a size
N
.