RandomModule

com.avast.sst.jvm.system.random.RandomModule
object RandomModule

Provides random number generators.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

def makeRandom[F[_]](seed: Long)(using evidence$1: 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.

Attributes

def makeSecureRandom[F[_]](using evidence$1: 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.

Attributes

def makeSecureRandom[F[_]](seed: Array[Byte])(using evidence$1: 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.

Attributes