Bouncy Castle Cryptography Library 1.66

org.bouncycastle.pqc.crypto.test
Class NullPRNG

java.lang.Object
  extended byjava.util.Random
      extended byjava.security.SecureRandom
          extended byorg.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
NullPRNG()
           
 
Method Summary
 void nextBytes(byte[] bytes)
           
 
Methods inherited from class java.security.SecureRandom
generateSeed, getInstance, getInstance, getInstance, getProvider, getSeed, next, setSeed, setSeed
 
Methods inherited from class java.util.Random
nextBoolean, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullPRNG

public NullPRNG()
Method Detail

nextBytes

public void nextBytes(byte[] bytes)

Bouncy Castle Cryptography Library 1.66