public class AsyncFortunaStandalone extends FortunaStandalone implements Runnable
generator, lastReseed, MIN_POOL_SIZE, NUM_POOLS, pool0Count, pools, reseedCount, SEEDbuffer, initialised, name, ndx| Constructor and Description |
|---|
AsyncFortunaStandalone(I2PAppContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillBlock()
Unused, see AsyncFortunaStandalone
|
protected void |
rotateBuffer()
make the next available filled buffer current, scheduling any unfilled
buffers for refill, and blocking until at least one buffer is ready
|
void |
run()
The refiller thread
|
void |
seed(byte[] val)
the seed is only propogated once the prng is started with startup()
|
void |
shutdown()
Note - methods may hang or NPE or throw IllegalStateExceptions after this
|
void |
startup() |
addRandomByte, addRandomBytes, setupaddRandomBytes, clone, init, isInitialised, name, nextByte, nextBytes, nextBytespublic AsyncFortunaStandalone(I2PAppContext context)
public void fillBlock()
FortunaStandalonefillBlock in class FortunaStandaloneprotected void rotateBuffer()
public void seed(byte[] val)
seed in class FortunaStandalonepublic void shutdown()
public void startup()