Library / System / Randomness / CasualRandom
CLASSIMPLEMENTS Random
CasualRandom
A fast, OS-seeded Random for games, sampling, jitter, and other non-reproducible, non-security uses. Seeds an xoshiro256** engine once at construction from operating-system entropy; thereafter it is a pure (fast) PRNG. NOT reproducible (the seed is fresh each time) and NOT for secrets — use SecureRandom for tokens/keys.
Constructors 1
INIT()Methods 4
MODIFY METHOD nextInt(int64 bound) RETURNS int64modifies
MODIFY METHOD nextUInt128() RETURNS uint128modifies
MODIFY METHOD nextFloat() RETURNS float64modifies
MODIFY METHOD nextBoolean() RETURNS booleanmodifies