HKDF.expand

ubyte[] expand(const(ubyte)[] prk, const(ubyte)[] info, size_t length)

HKDF-Expand Step.

Expands a pseudorandom key (PRK) into output keying material (OKM).

Parameters

prkThe pseudorandom key (usually output of extract).
infoContext and application specific information (can be null/empty).
lengthThe desired length of the output keying material (OKM).

Returns

The output keying material (OKM).