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
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
The key to use as the password.
Returns
The PBKDF2 key derivation context object.
Last updated: Sep 30, 2025