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
Provides support for building PBKDF2 key derivation contexts.

Extends

  • BaseCryptoClass

Accessors

hashAlgorithm

Set Signature

set hashAlgorithm(hash): void Set the hash algorithm to use with HMAC.
Parameters
hash
DigestAlgorithm The hash algorithm to use.
Returns
void

iterations

Set Signature

set iterations(iterations): void Set the number of iterations for the PBKDF2 operation.
Parameters
iterations
number The number of iterations to use.
Returns
void

salt

Set Signature

set salt(salt): void Set the salt for the PBKDF2 operation.
Parameters
salt
ArrayBuffer The salt to use in the key derivation process.
Returns
void

Methods

buildKeyDerivationContext()

buildKeyDerivationContext(key): KeyDerivationContext Build a context for deriving bits using PBKDF2.

Parameters

key
SymmetricKey The key to use as the password.

Returns

KeyDerivationContext The PBKDF2 key derivation context object.
Last modified on October 2, 2025