public abstract class EntropySource
extends java.lang.Object
RandomBitsSource| Modifier | Constructor and Description | 
|---|---|
protected | 
EntropySource()
Empty constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
clear()
Destroys (writes zero to) sensitive internal data structures used by the entropy source. 
 | 
abstract byte | 
generateByte()
Generate a byte of seeding material. 
 | 
byte[] | 
generateBytes(byte[] bytes)
Supplies the requisite number of bytes, by successive calls to  
generateByte(). | 
static EntropySource | 
getDefault()
Returns the system-wide default entropy source. 
 | 
static void | 
setDefault(EntropySource es)
Sets the system-wide default entropy source. 
 | 
public abstract byte generateByte()
IllegalStateException being thrown.)public byte[] generateBytes(byte[] bytes)
generateByte().public abstract void clear()
public static EntropySource getDefault()
public static void setDefault(EntropySource es)