Package-level declarations
Provides the default generator of pseudo-random values, the repeatable generator, and a base class for other RNG implementations.
Provides the default generator of pseudo-random values, the repeatable generator, and a base class for other RNG implementations.
Types
Functions
Creates a java.util.Random instance that uses the specified Kotlin Random generator as a randomness source.
Creates a Kotlin Random instance that uses the specified java.util.Random generator as a randomness source.
Creates an unsigned byte array of the specified size, filled with random bytes.
Fills the specified unsigned byte array with random bytes and returns it.
Fills a subrange of the specified UByte
array starting from fromIndex inclusive and ending toIndex exclusive with random UBytes.