Accumulator

This class is a core component of the Fortuna algorithm and is responsible for collecting and accumulating entropy from various sources.

Members

Aliases

pools
alias pools = num_pools
Undocumented in source.

Functions

addEntropy
void addEntropy(ubyte sourceID, size_t pool, ubyte[] data)

Multithreading aware version of addEntropy()

addEntropy
void addEntropy(ubyte sourceID, size_t pool, ubyte[] data)

Accumulate an entropy event.

extractEntropy
void extractEntropy(ubyte[] buf)

Multithreading aware version of extractEntropy()

extractEntropy
void extractEntropy(ubyte[] buf)

Properties

freshEntropyLength
uint freshEntropyLength [@property getter]

Parameters

DRNG

A deterministic RNG with input. This type is used as entropy pool.

Meta