Uses of Class
io.github.pr0methean.betterrandom.seed.SeedException
-
Packages that use SeedException Package Description io.github.pr0methean.betterrandom.prng Subclasses ofRandom
using different random-number generation algorithms.io.github.pr0methean.betterrandom.prng.adapter Implementations ofBaseRandom
that are backed by instances ofSplittableRandom
orRandom
, many of them wrapped inThreadLocal
<?>
to allow concurrent use of a shared instance by multiple threads.io.github.pr0methean.betterrandom.seed Tools to obtain and apply truly-random seeds forRandom
implementations, especially those that also implementByteArrayReseedableRandom
. -
-
Uses of SeedException in io.github.pr0methean.betterrandom.prng
Constructors in io.github.pr0methean.betterrandom.prng that throw SeedException Constructor Description AesCounterRandom()
Creates a new RNG and seeds it using 256 bits from theDefaultSeedGenerator
.AesCounterRandom(int seedSizeBytes)
Seed the RNG using theDefaultSeedGenerator
to create a seed of the specified size.AesCounterRandom(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy to create a 256-bit seed.BaseRandom(int seedSizeBytes)
Seed the RNG using theDefaultSeedGenerator
to create a seed of the specified size.BaseRandom(SeedGenerator randomSeeder, int seedLength)
Creates a new RNG and seeds it using the provided seed generation strategy.Cmwc4096Random()
Creates a new RNG and seeds it using the default seeding strategy.Cmwc4096Random(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy.MersenneTwisterRandom()
Creates a new RNG and seeds it using the default seeding strategy.MersenneTwisterRandom(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy.Pcg128Random(SeedGenerator seedGenerator)
Creates a new PRNG with a seed from the providedSeedGenerator
.Pcg64Random(SeedGenerator seedGenerator)
Creates a new PRNG with a seed from the providedSeedGenerator
.XorShiftRandom()
Creates a new RNG and seeds it using theDefaultSeedGenerator
.XorShiftRandom(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy. -
Uses of SeedException in io.github.pr0methean.betterrandom.prng.adapter
Constructors in io.github.pr0methean.betterrandom.prng.adapter that throw SeedException Constructor Description EntropyBlockingRandomWrapper(long minimumEntropy, SeedGenerator seedGenerator)
RandomWrapper()
Wraps aRandom
that is seeded using the default seeding strategy.RandomWrapper(SeedGenerator seedGenerator)
Wraps aRandom
that is seeded using the provided seed generation strategy.ReseedingThreadLocalRandomWrapper(int seedSize, SeedGenerator seedGenerator, java8.util.function.Function<byte[],? extends BaseRandom> creator)
Wraps a seed generator and a function that takes a seed byte array as input.ReseedingThreadLocalRandomWrapper(int seedSize, SimpleRandomSeeder randomSeederThread, java8.util.function.Function<byte[],? extends BaseRandom> creator, SeedGenerator seedGenerator)
Wraps a seed generator and a function that takes a seed byte array as input.SingleThreadSplittableRandomAdapter()
Use theDefaultSeedGenerator
to create the seed for theSplittableRandom
.SingleThreadSplittableRandomAdapter(SeedGenerator seedGenerator)
Use the provided seed generation strategy to create the seed for theSplittableRandom
.SplittableRandomAdapter(SeedGenerator seedGenerator, SimpleRandomSeeder randomSeeder)
Creates an instance. -
Uses of SeedException in io.github.pr0methean.betterrandom.seed
Methods in io.github.pr0methean.betterrandom.seed that throw SeedException Modifier and Type Method Description void
BufferedSeedGenerator. generateSeed(byte[] output)
byte[]
BufferedSeedGenerator. generateSeed(int length)
void
DefaultSeedGenerator. generateSeed(byte[] output)
Generates a seed value for a random number generator in an existing array.byte[]
DefaultSeedGenerator. generateSeed(int length)
void
DevRandomSeedGenerator. generateSeed(byte[] randomSeed)
byte[]
DevRandomSeedGenerator. generateSeed(int length)
Generates and returns a seed value for a random number generator as a new array.void
RandomDotOrgSeedGenerator. generateSeed(byte[] seed)
byte[]
RandomDotOrgSeedGenerator. generateSeed(int length)
void
SeedGenerator. generateSeed(byte[] output)
Generates a seed value for a random number generator in an existing array.byte[]
SeedGenerator. generateSeed(int length)
Generates and returns a seed value for a random number generator as a new array.void
SeedGeneratorPreferenceList. generateSeed(byte[] output)
byte[]
SeedGeneratorPreferenceList. generateSeed(int length)
-