Function hacl::rand_util::random_vec

source ·
pub fn random_vec(len: usize) -> Vec<u8> 
Expand description

Generate a random byte vector of length len. PANICS if randomness generation fails.