Class FixedSecureRandom

java.lang.Object
java.util.Random
java.security.SecureRandom
org.bouncycastle.crypto.prng.FixedSecureRandom
All Implemented Interfaces:
Serializable, RandomGenerator

public class FixedSecureRandom extends SecureRandom
A secure random that returns pre-seeded data to calls of nextBytes() or generateSeed().
See Also:
  • Constructor Details

    • FixedSecureRandom

      public FixedSecureRandom(byte[] value)
    • FixedSecureRandom

      public FixedSecureRandom(byte[][] values)
    • FixedSecureRandom

      public FixedSecureRandom(boolean intPad, byte[] value)
      Pad the data on integer boundaries. This is necessary for the classpath project's BigInteger implementation.
    • FixedSecureRandom

      public FixedSecureRandom(boolean intPad, byte[][] values)
      Pad the data on integer boundaries. This is necessary for the classpath project's BigInteger implementation.
  • Method Details