Function winter_rand_utils::prng_vector [−][src]
pub fn prng_vector<R: Randomizable>(seed: [u8; 32], n: usize) -> Vec<R>
Expand description
Returns a vector of value of the specified type and the specified length generated
pseudo-randomly from the specified seed
.
Panics
Panics if:
- A valid value requires at over 32 bytes.
- A valid value could not be generated after 100 tries.