MacAlgorithmNames.HmacSha256 | hmacSha256 property

Applies to Windows and Windows Phone

Retrieves a string that contains "HMAC_SHA256".

Syntax


var hmacSha256 = Windows.Security.Cryptography.Core.MacAlgorithmNames.hmacSha256;

Property value

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

String that contains "HMAC_SHA256".

Remarks

Use the string retrieved by this property to set the message authentication code (MAC) algorithm name when you call the OpenAlgorithm method. The string represents a hash-based message authentication code (HMAC) algorithm that uses the SHA256 (Secure Hash Algorithm) message digest algorithm to perform the hashing.

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

MacAlgorithmNames
MacAlgorithmProvider

 

 

Show:
© 2014 Microsoft