Settings
Help

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.