Derives a key in hex format of any length from a password with the salt in hex format using specified HMAC algorithm
public static string Kdf2( int dkLen, string pwdStr, string saltHex, int count, HashAlgorithm hashAlg )
Public Shared Function Kdf2 ( _ dkLen As Integer, _ pwdStr As String, _ saltHex As String, _ count As Integer, _ hashAlg As HashAlgorithm _ ) As String
string keyHex = Pbe.Kdf2(24, "password", "78578e5a5d63cb06", 2048); // BFDE6BE94DF7E11DD409BCE20A0255EC327CB936FFE93643
VB6/C equivalent: PBE_Kdf2Hex