Class JCERandom
java.lang.Object
net.schmizz.sshj.transport.random.JCERandom
- All Implemented Interfaces:
Random
A
Random
implementation using the built-in SecureRandom
PRNG.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final SecureRandom
private byte[]
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
tmp
private byte[] tmp -
random
-
-
Constructor Details
-
JCERandom
JCERandom()
-
-
Method Details
-
fill
public void fill(byte[] foo, int start, int len) Fill the given byte-array with random bytes from this PRNG. -
fill
public void fill(byte[] bytes) Description copied from interface:Random
Fill the array of bytes with random values.
-