RandomModule

Provides random number generators.

class Object
trait Matchable
class Any

Value members

Concrete methods

def makeRandom[F[_]](using evidence$1: Sync[F]): F[Random[F]]

Makes com.avast.sst.jvm.system.random.Random with default random seed.

Makes com.avast.sst.jvm.system.random.Random with default random seed.

def makeRandom[F[_]](seed: Long)(using evidence$2: Sync[F]): F[Random[F]]

Makes com.avast.sst.jvm.system.random.Random with the provided seed.

Makes com.avast.sst.jvm.system.random.Random with the provided seed.

def makeSecureRandom[F[_]](using evidence$3: Sync[F]): F[Random[F]]

Makes com.avast.sst.jvm.system.random.Random based on java.security.SecureRandom with default random seed.

Makes com.avast.sst.jvm.system.random.Random based on java.security.SecureRandom with default random seed.

def makeSecureRandom[F[_]](seed: Array[Byte])(using evidence$4: Sync[F]): F[Random[F]]

Makes com.avast.sst.jvm.system.random.Random based on java.security.SecureRandom with the provided seed.

Makes com.avast.sst.jvm.system.random.Random based on java.security.SecureRandom with the provided seed.