HashDRNG
@safe
struct HashDRNG (
)
if (
isStdDigest!D &&
seedlen % 8 == 0
) {
enum isDeterministic;
enum name;
}
A destructor is present on this object, but not explicitly documented in the source.
- addSeed
void addSeed(in ubyte[] seed...)
Add entropy to the generators internal state.
- nextBytes
void nextBytes(ubyte[] buf, in ubyte[] additionalInput...)
Generate pseudo random bytes.
- setSeed
void setSeed(in ubyte[] seed...)
Initialize the generator with given seed.
Standard: NIST SP800-90A, HashDRBG