public interface SP80090DRBG
Modifier and Type | Method and Description |
---|---|
int |
generate(byte[] output,
byte[] additionalInput,
boolean predictionResistant)
Populate a passed in array with random data.
|
int |
getBlockSize()
Return the block size of the DRBG.
|
void |
reseed(byte[] additionalInput)
Reseed the DRBG.
|
int getBlockSize()
int generate(byte[] output, byte[] additionalInput, boolean predictionResistant)
output
- output array for generated bits.additionalInput
- additional input to be added to the DRBG in this step.predictionResistant
- true if a reseed should be forced, false otherwise.void reseed(byte[] additionalInput)
additionalInput
- additional input to be added to the DRBG in this step.