Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.7 KB

keyderivationparameters_buildforpbkdf2_636237279.md

File metadata and controls

41 lines (27 loc) · 1.7 KB
-api-id -api-type
M:Windows.Security.Cryptography.Core.KeyDerivationParameters.BuildForPbkdf2(Windows.Storage.Streams.IBuffer,System.UInt32)
winrt method

Windows.Security.Cryptography.Core.KeyDerivationParameters.BuildForPbkdf2

-description

Creates a KeyDerivationParameters object for use in the password-based key derivation function 2 (PBKDF2).

-parameters

-param pbkdf2Salt

The salt, a random or pseudorandom value to be combined with the password in multiple iterations. A salt is used to increase entropy above what can be obtained from using a password alone.

-param iterationCount

Number of iterations to be used to derive a key.

-returns

Refers to the parameters used during key derivation.

-remarks

You can use the following algorithm names with the OpenAlgorithm function to open a PBKDF2 algorithm provider:

-examples

[!code-csharpShowDerivationFromPbkdf]

-see-also