HKDF-extract from spec. Less important part. HKDF-Extract(IKM, salt) -> PRK
Arguments position differs from spec (IKM is first one, since it is not optional)
Local validation only checks hash; ikm / salt byte validation is delegated to hmac().
hash function that would be used (e.g. sha256)
input keying material, the initial key
Optionalsalt: TArg<Uint8Array<ArrayBufferLike>>optional salt value (a non-secret random value)
Pseudorandom key derived from input keying material.
Re-export the full HKDF function from
@noble/hashesfor advanced use cases that need custom hash functions or output lengths.