| java.lang.Object |
| ↳ |
net.schmizz.sshj.transport.random.BouncyCastleRandom |
Class Overview
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.
Summary
| Nested Classes |
|
class |
BouncyCastleRandom.Factory |
Named factory for the BouncyCastle Random |
| Fields |
|
private
final
RandomGenerator |
random |
|
| Public Methods |
|
void
|
fill(byte[] bytes, int start, int len)
Fill part of bytes with random values.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
net.schmizz.sshj.transport.random.Random
|
abstract
void
|
fill(byte[] bytes, int start, int len)
Fill part of bytes with random values.
|
|
Fields
private
final
RandomGenerator
random
Public Constructors
public
BouncyCastleRandom
()
Public Methods
public
void
fill
(byte[] bytes, int start, int len)
Fill part of bytes with random values.
Parameters
| bytes
| Byte array to be filled. |
| start
| Index to start filling at. |
| len
| Length of segment to fill.
|