KeyDerivationAlgorithmNames.Pbkdf2Sha256 Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a string that contains "PBKDF2_SHA256".
public:
static property Platform::String ^ Pbkdf2Sha256 { Platform::String ^ get(); };
static winrt::hstring Pbkdf2Sha256();
public static string Pbkdf2Sha256 { get; }
var string = KeyDerivationAlgorithmNames.pbkdf2Sha256;
Public Shared ReadOnly Property Pbkdf2Sha256 As String
Property Value
String that contains "PBKDF2_SHA256".
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 SHA256 (Secure Hash Algorithm 256) message 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.