dreamworkAPI
Ctrl K
GitHub
typeDocs / hkdf / Options

hkdf.Options

typesharedmenusource

HKDF key derivation options.

Fields

NameTypeDescription
hashcrypto.HashClassThe hash class to use, e.g. crypto.SHA256.
keystringThe input keying material (IKM).
saltstring | nilThe optional salt, default is a string of digest_size zero bytes.
infostring | nilThe optional context and application specific information, default is an empty string.
lengthinteger | nilThe length of the output keying material in bytes, default is digest_size, must not exceed 255 * digest_size.
Generated from the dreamwork meta branch.