Class BouncyCastleRandom
java.lang.Object
net.schmizz.sshj.transport.random.BouncyCastleRandom
- All Implemented Interfaces:
Random
BouncyCastle
Random
. This pseudo random number generator uses the a very fast PRNG from BouncyCastle.
The JRE random will be used when creating a new generator to add some random data to the seed.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Named factory for the BouncyCastleRandom
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
random
private final org.bouncycastle.crypto.prng.RandomGenerator random
-
-
Constructor Details
-
BouncyCastleRandom
public BouncyCastleRandom()
-
-
Method Details