EntropyAccumulator

Class used to accumulate the poll results of EntropySources

Constructors

this
this(bool delegate(const(ubyte)*, size_t len, double) accum)

Initialize an EntropyAccumulator

Destructor

~this
~this()
Undocumented in source.

Members

Functions

add
void add(void* bytes, size_t length, double entropy_bits_per_byte)

Add entropy to the accumulator

add
void add(T v, double entropy_bits_per_byte)

Add entropy to the accumulator

getIoBuffer
SecureVector!ubyte getIoBuffer(size_t size)

Get a cached I/O buffer (purely for minimizing allocation overhead to polls)

pollingGoalAchieved
bool pollingGoalAchieved()

Meta