Package org.bouncycastle.pqc.crypto.test
Class NullPRNG
- java.lang.Object
-
- java.util.Random
-
- java.security.SecureRandom
-
- org.bouncycastle.pqc.crypto.test.NullPRNG
-
- All Implemented Interfaces:
java.io.Serializable
public final class NullPRNG extends java.security.SecureRandom
Implementation of null PRNG returning zeroes only. For testing purposes only(!).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullPRNG()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
nextBytes(byte[] bytes)
-
Methods inherited from class java.security.SecureRandom
generateSeed, getAlgorithm, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceStrong, getParameters, getProvider, getSeed, next, nextBytes, reseed, reseed, setSeed, setSeed, toString
-
-