Password-Based Key Derivation Function 2 algorithm.
Computes the Password-Based Key Derivation Function 2.
var key = kdf.compute(password, salt);
The password.
A salt.
The derived key.
Initializes a newly created key derivation function.
var kdf = CryptoJS.algo.PBKDF2.create();var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
(Optional) The configuration options to use for the derivation.
Generated using TypeDoc
Password-Based Key Derivation Function 2 algorithm.