Module rand

Source
Expand description

Random number generation.

Functionsยง

get_insecure_random_bytes
Fill the slice with insecure random bytes.
get_random_bytes
Fill the slice with cryptographically secure random bytes.