Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.crypto.prng.drbg;

Interface to SP800-90A deterministic random bit generators.
 
 public interface SP80090DRBG
 {
    
Return the block size of the DRBG.

Returns:
the block size (in bits) produced by each round of the DRBG.
    int getBlockSize();

    
Populate a passed in array with random data.

Parameters:
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.
Returns:
number of bits generated, -1 if a reseed required.
    int generate(byte[] outputbyte[] additionalInputboolean predictionResistant);

    
Reseed the DRBG.

Parameters:
additionalInput additional input to be added to the DRBG in this step.
    void reseed(byte[] additionalInput);
New to GrepCode? Check out our FAQ X