Share via


MacAlgorithmNames.HmacSha1 Property

Definition

Retrieves a string that contains "HMAC_SHA1".

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

Property Value

String

Platform::String

winrt::hstring

String that contains "HMAC_SHA1".

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 SHA1 (Secure Hash Algorithm 1) message digest algorithm to perform the hashing.

Applies to

See also