Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.39 KB

keyderivationalgorithmnames_pbkdf2sha512.md

File metadata and controls

26 lines (18 loc) · 1.39 KB
-api-id -api-type
P:Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames.Pbkdf2Sha512
winrt property

Windows.Security.Cryptography.Core.KeyDerivationAlgorithmNames.Pbkdf2Sha512

-description

Retrieves a string that contains "PBKDF2_SHA512".

-property-value

String that contains "PBKDF2_SHA512".

-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 SHA512 (Secure Hash Algorithm 512) 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.

-examples

-see-also

KeyDerivationAlgorithmProvider, KeyDerivationParameters