as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

Pbkdf2ContextBuilder

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 updated: Oct 02, 2025