• Computes the Password-Based Key Derivation Function 2.

    Parameters

    Returns WordArray

    The derived key.

    var key = CryptoJS.PBKDF2(password, salt);
    var key = CryptoJS.PBKDF2(password, salt, { keySize: 8 });
    var key = CryptoJS.PBKDF2(password, salt, { keySize: 8, iterations: 1000 });