Skip to main content

Module random

Module random 

Source
Expand description

Implementation of the random WIT interface.

interface random {
    // Returns a random number generated by a
    // cryptographically secure pseudorandom number generator (CSPRNG)
    get-random: func() -> u64;
}

Functionsยง

get_random ๐Ÿ”’