Skip to main content

Module rand

Module rand 

Source
Expand description

The single place where we generate random material for our own use.

Structsยง

GetRandomFailed
Random material generation failed.

Functionsยง

random_u16 ๐Ÿ”’
Return a uniformly random u16.
random_u32 ๐Ÿ”’
Return a uniformly random u32.
random_vec ๐Ÿ”’
Make a Vec<u8> of the given size containing random material.