Windows Dev Center

KeyDerivationAlgorithmNames.Sp800108CtrHmacSha1 | sp800108CtrHmacSha1 property

Retrieves a string that contains "SP800_108_CTR_HMAC_SHA1".

Syntax


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

Property value

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

String that contains "SP800_108_CTR_HMAC_SHA1".

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 Sp800-108 algorithm in counter mode that uses a Hashed Message Authentication Code based on the Secure Hash Algorithm 1 message digest algorithm (HmacSha1) as the underlying pseudorandom function.

To use this KDF, you must specify the appropriate parameters by calling the BuildForSP800108 method on the KeyDerivationParameters before calling the CreateKey method to derive a key.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2015 Microsoft