Skip to main content

Module random

Module random 

Source

Structs§

Deterministic
Implement insecure-random using a deterministic cycle of bytes.
WasiRandom
A helper struct which implements HasData for the wasi:random APIs.
WasiRandomCtx

Constants§

DEFAULT_MAX_SIZE
Default largest length accepted by wasi 0.2 get-random-bytes and get-insecure-random-bytes methods. This constant must match docs in cli-flags crate.

Traits§

WasiRandomView

Functions§

thread_rng