Extends
BaseCryptoClass
Constructors
new KeyDerivationContext()
new KeyDerivationContext(): KeyDerivationContextReturns
KeyDerivationContextMethods
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>

