| Modifier and Type | Class and Description |
|---|---|
| public static class | FixedSecureRandom.BigInteger
BigInteger Source - in this case we expect requests for data that will be used for BigIntegers. |
| public static class | FixedSecureRandom.Data
Data Source - in this case we just expect requests for byte arrays. |
| private static class | |
| private static class | |
| public static class | FixedSecureRandom.Source
Base class for sources of fixed "Randomness" |
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private int | |
| private static BigInteger | |
| private static BigInteger | |
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| private static BigInteger |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static FixedSecureRandom. | |
| private static byte[] | |
| public byte[] | generateSeed(int
the number of seed bytes to generate. numBytes)Overrides java. |
| public boolean | |
| public void | nextBytes(byte[]
the array to be filled in with random bytes. bytes)Overrides java. Overrides default java. |
| public int | nextInt()
Overrides java. Overrides default java. int
value from this random number generator's sequence.
|
| public long | nextLong()
Overrides java. Implements java. long
value from this random number generator's sequence.
|
| private int |
| _data | back to summary |
|---|---|
| private byte[] _data | |
| _index | back to summary |
|---|---|
| private int _index | |
| ANDROID | back to summary |
|---|---|
| private static BigInteger ANDROID | |
| CLASSPATH | back to summary |
|---|---|
| private static BigInteger CLASSPATH | |
| isAndroidStyle | back to summary |
|---|---|
| private static final boolean isAndroidStyle | |
| isClasspathStyle | back to summary |
|---|---|
| private static final boolean isClasspathStyle | |
| isRegularStyle | back to summary |
|---|---|
| private static final boolean isRegularStyle | |
| REGULAR | back to summary |
|---|---|
| private static BigInteger REGULAR | |
| FixedSecureRandom | back to summary |
|---|---|
| public FixedSecureRandom(byte[] value) | |
| FixedSecureRandom | back to summary |
|---|---|
| public FixedSecureRandom(byte[][] values) | |
| FixedSecureRandom | back to summary |
|---|---|
| public FixedSecureRandom(FixedSecureRandom. | |
| buildDataArray | back to summary |
|---|---|
| private static FixedSecureRandom. | |
| expandToBitLength | back to summary |
|---|---|
| private static byte[] expandToBitLength(int bitLength, byte[] v) | |
| 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() | |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| BigInteger | back to summary |
|---|---|
| public BigInteger(byte[] data) | |
| BigInteger | back to summary |
|---|---|
| public BigInteger(int bitLength, byte[] data) | |
| BigInteger | back to summary |
|---|---|
| public BigInteger(String hexData) | |
| BigInteger | back to summary |
|---|---|
| public BigInteger(int bitLength, String hexData) | |
| Access | Constructor and Description |
|---|---|
| public |
| Data | back to summary |
|---|---|
| public Data(byte[] data) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| DummyProvider | back to summary |
|---|---|
| pack-priv DummyProvider() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | nextBytes(byte[]
the array to be filled in with random bytes. bytes)Overrides java. Overrides default java. |
| RandomChecker | back to summary |
|---|---|
| pack-priv RandomChecker() | |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| data | back to summary |
|---|---|
| pack-priv byte[] data | |
| Source | back to summary |
|---|---|
| pack-priv Source(byte[] data) | |