Std.Random
Random
Section titled “Random”effect RandomRandom values.
-
fn int() -> IntUniform over the whole range of Int.
-
fn float() -> FloatUniform in [0, 1).
SystemRandom
Section titled “SystemRandom”handler SystemRandom: RandomThe host’s random source (JS crypto.getRandomValues, C arc4random_buf or getrandom;
cryptographically secure). Stateless.