import { type KdfInterface } from "https://deno.land/x/hpke@1.2.9/core/mod.ts";
The KDF interface.
Properties
readonly
id: KdfIdThe KDF identifier.
Methods
Builds a labeled input keying material.
Builds a labeled info string.
Extracts a pseudorandom key of fixed length (Nh) bytes.
Expands a pseudorandom key prk
.
extractAndExpand(): Promise<ArrayBuffer>
salt: ArrayBuffer,
ikm: ArrayBuffer,
info: ArrayBuffer,
len: number,
Extracts a pseudorandom key and expand it to a specified length keying material.
Extracts a pseudorandom key with label.