Share via


HashAlgorithmNames.Sha256 Property

Definition

Retrieves a string that contains "SHA256".

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

Property Value

String

Platform::String

winrt::hstring

String that contains "SHA256".

Remarks

Use the string retrieved by this property to set the hash algorithm name when you call the OpenAlgorithm method. The string represents a SHA2 (Secure Hash Algorithm 2) message digest algorithm that produces a 256-bit hash value.

Applies to

See also