deno.com
method SubtleCrypto.deriveBits
#SubtleCrypto.deriveBits(
baseKey: CryptoKey,
length: number,
): Promise<ArrayBuffer>

This method is used to derive a key from a base key using a cryptographic algorithm.

Examples #

#
await crypto.subtle.deriveBits("HKDF", baseKey, length);

Parameters #

Return Type #

Promise<ArrayBuffer>

See #