Function roxido::r::random_bytes [−][src]
pub fn random_bytes<const LENGTH: usize>() -> [u8; LENGTH]
Expand description
Generate random bytes using R’s RNG.
Examples:
let mut rng = rand_pcg::Pcg64Mcg::from_seed(crate::r::random_bytes::<16>());