| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | FixedEntropySourceProvider(byte[]
the data that will be returned by EntropySources created by this provider. data, boolean true if the EntropySource should be marked as prediction resistant, false otherwise. isPredictionResistant)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public EntropySource | Returns: a new EntropySource.the size of the block of entropy required. bitsRequired)Implements org. |
| data | back to summary |
|---|---|
| private final byte[] data | |
| isPredictionResistant | back to summary |
|---|---|
| private final boolean isPredictionResistant | |
| FixedEntropySourceProvider | back to summary |
|---|---|
| public FixedEntropySourceProvider(byte[] data, boolean isPredictionResistant) Base constructor.
| |
| get | back to summary |
|---|---|
| public EntropySource get(final int bitsRequired) Implements org. Return an EntropySource based on the data provided to this object.
| |