hkdf
Computes an HKDF.
Return
size pseudorandom bytes.
Parameters
must be one of Algorithm.HMAC_SHA256, Algorithm.HMAC_SHA384, Algorithm.HMAC_SHA512.
the input keying material.
optional salt. A possibly non-secret random value. If no salt is provided (ie. if salt has length 0) then an array of 0s of the same size as the hash digest is used as salt.
optional context and application specific information.
the length of the generated pseudorandom string in bytes. The maximal size is DigestSize, where DigestSize is the size of the underlying HMAC.
Computes an HKDF.
Return
size pseudorandom bytes.
Parameters
must be one of Algorithm.HMAC_SHA256, Algorithm.HMAC_SHA384, Algorithm.HMAC_SHA512.
the input keying material.
optional salt. A possibly non-secret random value. If no salt is provided (ie. if salt has length 0) then an array of 0s of the same size as the hash digest is used as salt.
optional context and application specific information.
the length of the generated pseudorandom string in bytes. The maximal size is DigestSize, where DigestSize is the size of the underlying HMAC.