|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sshd.common.random.BouncyCastleRandom
public class BouncyCastleRandom
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 | |
|---|---|
static class |
BouncyCastleRandom.Factory
Named factory for the BouncyCastle Random |
| Constructor Summary | |
|---|---|
BouncyCastleRandom()
|
|
| Method Summary | |
|---|---|
void |
fill(byte[] bytes,
int start,
int len)
Fill part of bytes with random values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BouncyCastleRandom()
| Method Detail |
|---|
public void fill(byte[] bytes,
int start,
int len)
Random
fill in interface Randombytes - byte array to be filled.start - index to start filling at.len - length of segment to fill.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||