All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary Class Description AesCounterRandom CipherCounterRandom using AES (Rijndael).BaseRandom AbstractRandom
with a seed field and an implementation of entropy counting.BaseSplittableRandomAdapter Abstract class for implementations ofBaseRandom
that wrap one or moreSplittableRandom
instances.BinaryUtils Utility methods for working with binary and hex data.BufferedSeedGenerator A seed generator that wraps another, maintaining a buffer of previously-fetched bytes to reduce the number of I/O calls.Byte16ArrayArithmetic Collection of arithmetic methods that treatbyte[16]
arrays as 128-bit unsigned integers.ByteArrayReseedableRandom ARandom
that can be reseeded using a byte array instead of usingRandom.setSeed(long)
(although that may also be supported).CipherCounterRandom Non-linear random number generator based on a cipher that encrypts an incrementing counter.Cmwc4096Random A Java version of George Marsaglia's Complementary Multiply With Carry (CMWC) RNG.DefaultSeedGenerator Seed generator that is the default for the program where it is running.DevRandomSeedGenerator RNG seed strategy that gets data from/dev/random
on systems that provide it (e.g.DirectSplittableRandomAdapter Abstract subclass ofBaseSplittableRandomAdapter
whereDirectSplittableRandomAdapter.setSeed(long)
andBaseRandom.setSeed(byte[])
replace theSplittableRandom
that's used in the context in which they are called.Dumpable Object that can be dumped (written for debugging purposes to a more detailed string representation than whatObject.toString()
returns).EntropyBlockingRandomWrapper ARandomWrapper
with the additional property that it won't return any output that would take its entropy below a minimum amount, and will instead either wait to be reseeded by aSimpleRandomSeeder
or, if none is installed, reseed itself on the calling thread with aSeedGenerator
.EntropyBlockingSplittableRandomAdapter ASplittableRandomAdapter
that blocks waiting to be reseeded if its entropy drops too low.EntropyCountingRandom ARandom
that can track its inflow and outflow of entropy so we can determine when it needs reseeding again.EntryPoint Marks a method or constructor, or the implicit constructor of the marked class, as an entry point, so that IntelliJ's code inspections won't decide it's unused.Java8CompatRandom This interface contains all the stream methods ofRandom
backported from Java 8.Java8Constants LegacyRandomSeeder ASimpleRandomSeeder
that can reseed any instance ofRandom
.Looper Wraps a thread that loops a given task until interrupted, with the iterations being transactional.MersenneTwisterRandom Random number generator based on the Mersenne Twister algorithm developed by Makoto Matsumoto and Takuji Nishimura.Pcg128Random From the original description, "PCG is a family of simple fast space-efficient statistically good algorithms for random number generation.Pcg64Random From the original description, "PCG is a family of simple fast space-efficient statistically good algorithms for random number generation.RandomDotOrgSeedGenerator Connects to random.org's old API (via HTTPS) and downloads a set of random bits to use as seed data.RandomWrapper RepeatableRandom Deterministic random number generators are repeatable, which can prove useful for testing and validation.ReseedingThreadLocalRandomWrapper AThreadLocalRandomWrapper
that reseeds all its instances using aSimpleRandomSeeder
.SecureRandomSeedGenerator SeedGenerator
implementation that uses Java's bundledSecureRandom
RNG to generate random seed data.SeedException Exception thrown bySeedGenerator
implementations when they are unable to generate a new seed for an RNG.SeedGenerator Strategy interface for seeding random number generators.SeedGeneratorPreferenceList ASeedGenerator
implementation that iterates over multiple delegates until one succeeds.SeekableRandom ARepeatableRandom
that can skip backward or forward within its sequence of output.SerializableFunction<I,O> Function
that isSerializable
.SerializableSupplier<T> Supplier
that isSerializable
.SimpleRandomSeeder Thread that loops overByteArrayReseedableRandom
instances and reseeds them.SimpleRandomSeeder.DefaultThreadFactory AThreadFactory
that sets the name and priority of the threads it creates.SingleThreadSplittableRandomAdapter Simple, non-thread-safe implementation ofBaseRandom
that wraps aSplittableRandom
.SplittableRandomAdapter Thread-safe PRNG that wraps aThreadLocal
<SplittableRandom
>.ThreadLocalRandomWrapper Wraps aThreadLocal
<BaseRandom
> in order to provide concurrency that most implementations ofBaseRandom
can't implement naturally.XorShiftRandom Very fast pseudo random number generator.