Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Represents a context for performing key derivation operations.

Extends

  • BaseCryptoClass

Methods

deriveBits()

deriveBits(length): Promise<ArrayBuffer> Derive bits from the input keying material.

Parameters

length
number The length of the derived key in bytes.

Returns

Promise<ArrayBuffer> A promise that resolves to the derived key as an ArrayBuffer.

deriveKey()

deriveKey(length): Promise<SymmetricKey> Derive a symmetric key from the input keying material.

Parameters

length
number The length of the symmetric key in bytes.

Returns

Promise<SymmetricKey> A promise that resolves to the derived symmetric key.
Last modified on October 2, 2025