• Computes the Password-Based Key Derivation Function 2.

    Parameters

    • password: string
    • salt: string | Uint8Array
    • iterations: number
    • keySize: number
    • hash: string

    Returns string