Dela via


MacAlgorithmNames.HmacSha256 Property

Definition

Retrieves a string that contains "HMAC_SHA256".

public:
 static property Platform::String ^ HmacSha256 { Platform::String ^ get(); };
static winrt::hstring HmacSha256();
public static string HmacSha256 { get; }
var string = MacAlgorithmNames.hmacSha256;
Public Shared ReadOnly Property HmacSha256 As String

Property Value

String

Platform::String

winrt::hstring

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.

Applies to

See also