IRandomStandalone
, RandomEventListenerStandalone
, java.lang.Cloneable
, java.lang.Runnable
, java.util.EventListener
public class AsyncFortunaStandalone extends FortunaStandalone implements java.lang.Runnable
FortunaStandalone.Generator
buffer, initialised, name, ndx
generator, lastRefill, lastReseed, MIN_POOL_SIZE, NUM_POOLS, pool, pool0Count, pools, refillCount, reseedCount, SEED
コンストラクタ | 説明 |
---|---|
AsyncFortunaStandalone(I2PAppContext context) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
protected void |
allocBuffer() |
|
void |
fillBlock() |
|
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() |
addRandomBytes, clone, init, isInitialised, name, nextByte, nextBytes, nextBytes
addRandomByte, addRandomBytes, addRandomEvent, setup
public AsyncFortunaStandalone(I2PAppContext context)
public void startup()
public void shutdown()
public void seed(byte[] val)
seed
クラス内 FortunaStandalone
protected void allocBuffer()
allocBuffer
クラス内 FortunaStandalone
protected void rotateBuffer()
public void run()
run
インタフェース内 java.lang.Runnable
public void fillBlock()
fillBlock
クラス内 FortunaStandalone