isDRNGWithInput

Undocumented in source.
@safe @nogc nothrow
template isDRNGWithInput (
T
) {}

Members

Variables

isDRNGWithInput
enum bool isDRNGWithInput;
Undocumented in source.

Examples

Generate a pseudo random but deterministic sequence of bytes.

t {
	import dcrypt.crypto.digests.sha2;
	//import std.stdio;

	HashDRNG_SHA256 drng;

	ubyte[70] buf;

	drng.nextBytes(buf);

	//writefln("%(%.2x%)", buf

Meta