HMAC_DRBG

HMAC_DRBG (SP800-90A)

Constructors

this
this(MessageAuthenticationCode mac, RandomNumberGenerator prng)

Members

Functions

addEntropy
void addEntropy(const(ubyte)* input, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
isSeeded
bool isSeeded()
Undocumented in source. Be warned that the author may not have intended to support it.
randomVec
SecureVector!ubyte randomVec(size_t bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
randomize
void randomize(ubyte* output, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
reseed
void reseed(size_t poll_bits)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From RandomNumberGenerator

makeRng
RandomNumberGenerator makeRng()

Create a seeded and active RNG object for general application use Added in 1.8.0

makeRng
RandomNumberGenerator makeRng(AlgorithmFactory af)

Create a seeded and active RNG object for general application use Added in 1.11.5

randomize
void randomize(ubyte* output, size_t length)

Randomize a ubyte array.

randomVec
SecureVector!ubyte randomVec(size_t bytes)

Return a random vector

nextByte
ubyte nextByte()

Return a random ubyte

isSeeded
bool isSeeded()

Check whether this RNG is seeded.

clear
void clear()

Clear all internally held values of this RNG.

name
string name [@property getter]

Return the name of this object

reseed
void reseed(size_t bits_to_collect)

Seed this RNG using the entropy sources it contains.

addEntropy
void addEntropy(const(ubyte)* input, size_t length)

Add entropy to this RNG.

Meta