KeyDerivationContext
Represents a context for performing key derivation operations.
Extends
BaseCryptoClass
Constructors
new KeyDerivationContext()
new KeyDerivationContext(): KeyDerivationContext
Returns
Methods
deriveBits()
deriveBits(length:
number):Promise<ArrayBuffer>
Derive bits from the input keying material.
Parameters
length
number
The length of the derived key in bytes. Promise A promise that resolves to the derived key as an ArrayBuffer.
Returns
Promise<ArrayBuffer>
deriveKey()
deriveKey(length:
number):Promise<SymmetricKey>
Derive a symmetric key from the input keying material.
Parameters
length
number
The length of the symmetric key in bytes. Promise A promise that resolves to the derived symmetric key.
Returns
Promise<SymmetricKey>
Last updated: Jul 22, 2026

