• Computes the Password-Based Key Derivation Function 2.

    Parameters

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

    Returns string