Uses of Interface
io.github.pr0methean.betterrandom.ByteArrayReseedableRandom
- 
Packages that use ByteArrayReseedableRandom Package Description io.github.pr0methean.betterrandom.prng Subclasses ofRandomusing different random-number generation algorithms.io.github.pr0methean.betterrandom.prng.adapter Implementations ofBaseRandomthat are backed by instances ofSplittableRandomorRandom, 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 forRandomimplementations, especially those that also implementByteArrayReseedableRandom.
- 
- 
Uses of ByteArrayReseedableRandom in io.github.pr0methean.betterrandom.prngClasses in io.github.pr0methean.betterrandom.prng that implement ByteArrayReseedableRandom Modifier and Type Class Description classAesCounterRandomCipherCounterRandom using AES (Rijndael).classBaseRandomAbstractRandomwith a seed field and an implementation of entropy counting.classCipherCounterRandomNon-linear random number generator based on a cipher that encrypts an incrementing counter.classCmwc4096RandomA Java version of George Marsaglia's Complementary Multiply With Carry (CMWC) RNG.classMersenneTwisterRandomRandom number generator based on the Mersenne Twister algorithm developed by Makoto Matsumoto and Takuji Nishimura.classPcg128RandomFrom the original description, "PCG is a family of simple fast space-efficient statistically good algorithms for random number generation.classPcg64RandomFrom the original description, "PCG is a family of simple fast space-efficient statistically good algorithms for random number generation.classXorShiftRandomVery fast pseudo random number generator.
- 
Uses of ByteArrayReseedableRandom in io.github.pr0methean.betterrandom.prng.adapterClasses in io.github.pr0methean.betterrandom.prng.adapter that implement ByteArrayReseedableRandom Modifier and Type Class Description classBaseSplittableRandomAdapterAbstract class for implementations ofBaseRandomthat wrap one or moreSplittableRandominstances.classDirectSplittableRandomAdapterAbstract subclass ofBaseSplittableRandomAdapterwhereDirectSplittableRandomAdapter.setSeed(long)andBaseRandom.setSeed(byte[])replace theSplittableRandomthat's used in the context in which they are called.classEntropyBlockingRandomWrapperARandomWrapperwith 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 aSimpleRandomSeederor, if none is installed, reseed itself on the calling thread with aSeedGenerator.classEntropyBlockingSplittableRandomAdapterASplittableRandomAdapterthat blocks waiting to be reseeded if its entropy drops too low.classRandomWrapperclassReseedingThreadLocalRandomWrapperAThreadLocalRandomWrapperthat reseeds all its instances using aSimpleRandomSeeder.classSingleThreadSplittableRandomAdapterSimple, non-thread-safe implementation ofBaseRandomthat wraps aSplittableRandom.classSplittableRandomAdapterThread-safe PRNG that wraps aThreadLocal<SplittableRandom>.classThreadLocalRandomWrapperWraps aThreadLocal<BaseRandom> in order to provide concurrency that most implementations ofBaseRandomcan't implement naturally.
- 
Uses of ByteArrayReseedableRandom in io.github.pr0methean.betterrandom.seedFields in io.github.pr0methean.betterrandom.seed with type parameters of type ByteArrayReseedableRandom Modifier and Type Field Description protected Set<ByteArrayReseedableRandom>SimpleRandomSeeder. byteArrayPrngsHoldsByteArrayReseedableRandominstances that should be reseeded when their entropy is low, or as often as possible if they don't implementEntropyCountingRandom.protected Set<ByteArrayReseedableRandom>SimpleRandomSeeder. byteArrayPrngsThisIterationHolds instances that are being reseeded during the current iteration, so that PRNGs can be added and removed in the middle of an iteration without theConcurrentModificationExceptionthat would otherwise arise.Methods in io.github.pr0methean.betterrandom.seed with parameters of type ByteArrayReseedableRandom Modifier and Type Method Description voidSimpleRandomSeeder. add(ByteArrayReseedableRandom... randoms)AddsByteArrayReseedableRandominstances.Method parameters in io.github.pr0methean.betterrandom.seed with type arguments of type ByteArrayReseedableRandom Modifier and Type Method Description voidSimpleRandomSeeder. add(Collection<? extends ByteArrayReseedableRandom> randoms)AddsByteArrayReseedableRandominstances.
 
-