KeyDerivationAlgorithmNames.Pbkdf2Md5 | pbkdf2Md5 property

Applies to Windows and Windows Phone

Retrieves a string that contains "PBKDF2_MD5".

Syntax


var pbkdf2Md5 = Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames.pbkdf2Md5;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

String that contains "PBKDF2_MD5".

Remarks

Use the string retrieved by this property to set the Key Derivation Function (KDF) name when you call the OpenAlgorithm method on the KeyDerivationAlgorithmProvider class. The string represents a Password-Based Key Derivation Function 2 (PBKDF2) algorithm that uses a Hashed Message Authentication Code (HMAC) based on the MD5 digest algorithm as the underlying pseudorandom function.

To use this KDF, you must specify the appropriate salt value and iteration count by calling the BuildForPbkdf2 method on the KeyDerivationParameters class before calling the CreateKey method to derive a key.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.winmd

See also

KeyDerivationAlgorithmNames
KeyDerivationAlgorithmProvider
KeyDerivationParameters

 

 

Show:
© 2014 Microsoft