A small cross-platform library for retrieving random data from system source.
# Cargo.toml
[dependencies]
getrandom = "0.4.2"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Fill a buffer with cryptographically secure random bytes.
Use getrandom with the "js" feature for WASM or consider using rand::thread_rng for non-cryptographic use
No dependency data recorded yet.