| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSeed(int
the number of seed bytes to generate. numBytes)Overrides java. Returns the given number of seed bytes, computed using the seed generation algorithm that this class uses to seed itself. |
| public boolean | |
| public void | nextBytes(byte[]
the array to be filled in with random bytes. bytes)Overrides java. Overrides default java. Generates a user-specified number of random bytes. |
| public int | nextInt()
Overrides java. Overrides default java. Returns the next pseudorandom, uniformly distributed |
| public long | nextLong()
Overrides java. Implements java. Returns the next pseudorandom, uniformly distributed |
| private int |
| _data | back to summary |
|---|---|
| private byte[] _data | |
| _index | back to summary |
|---|---|
| private int _index | |
| _intPad | back to summary |
|---|---|
| private int _intPad | |
| FixedSecureRandom | back to summary |
|---|---|
| public FixedSecureRandom(byte[] value) | |
| FixedSecureRandom | back to summary |
|---|---|
| public FixedSecureRandom(byte[][] values) | |
| FixedSecureRandom | back to summary |
|---|---|
| public FixedSecureRandom(boolean intPad, byte[] value) Pad the data on integer boundaries. This is necessary for the classpath project's BigInteger implementation. | |
| FixedSecureRandom | back to summary |
|---|---|
| public FixedSecureRandom(boolean intPad, byte[][] values) Pad the data on integer boundaries. This is necessary for the classpath project's BigInteger implementation. | |
| generateSeed | back to summary |
|---|---|
| public byte[] generateSeed(int numBytes) Overrides java. Doc from java. Returns the given number of seed bytes, computed using the seed generation algorithm that this class uses to seed itself. This call may be used to seed other random number generators.
| |
| isExhausted | back to summary |
|---|---|
| public boolean isExhausted() | |
| nextBytes | back to summary |
|---|---|
| public void nextBytes(byte[] bytes) Overrides java. Overrides default java. Doc from java. Generates a user-specified number of random bytes.
| |
| nextInt | back to summary |
|---|---|
| public int nextInt() Overrides java. Overrides default java. Doc from java. Returns the next pseudorandom, uniformly distributed
| |
| nextLong | back to summary |
|---|---|
| public long nextLong() Overrides java. Implements java. Doc from java. Returns the next pseudorandom, uniformly distributed
| |
| nextValue | back to summary |
|---|---|
| private int nextValue() | |