hkdf.Options
HKDF key derivation options.
Fields
| Name | Type | Description |
|---|---|---|
hash | crypto.HashClass | The hash class to use, e.g. crypto.SHA256. |
key | string | The input keying material (IKM). |
salt | string | nil | The optional salt, default is a string of digest_size zero bytes. |
info | string | nil | The optional context and application specific information, default is an empty string. |
length | integer | nil | The length of the output keying material in bytes, default is digest_size, must not exceed 255 * digest_size. |