org.metastatic.jessie
Interface EntropySource
public interface EntropySource
A generic interface for adding random bytes to an entropy pool.
byte[] | nextBytes() - Returns a new buffer with the next random bytes to add.
|
double | quality() - Returns the estimated quality of this source.
|
nextBytes
public byte[] nextBytes()
Returns a new buffer with the next random bytes to add.
quality
public double quality()
Returns the estimated quality of this source. This value should be
between 0 and 100 (the running quality is computed as a percentage,
100 percent being perfect-quality).