Accumulator.addEntropy

Accumulate an entropy event.

  1. void addEntropy(in ubyte sourceID, in size_t pool, in ubyte[] data)
  2. void addEntropy(in ubyte sourceID, in size_t pool, in ubyte[] data...)
    class Accumulator(DRNG, uint num_pools = 32)
    nothrow @nogc @safe
    void
    addEntropy
    (
    in ubyte sourceID
    ,
    in size_t pool
    ,
    in ubyte[] data...
    )
    in { assert (pool < pools, "Pool ID out of range."); }
    if (
    isDRNGWithInput!DRNG
    )

Parameters

sourceID
Type: ubyte

A number assigned to the source.

pool
Type: size_t

The pool to add the entropy. 0 <= pool < Accumulator.pools

data
Type: ubyte[]

Entropy data.

Meta