HashAlgorithmNames HashAlgorithmNames HashAlgorithmNames HashAlgorithmNames HashAlgorithmNames Class


Contains static properties that enable you to retrieve algorithm names that can be used in the OpenAlgorithm method of the HashAlgorithmProvider class.

public : static class HashAlgorithmNames
static struct winrt::Windows::Security::Cryptography::Core::HashAlgorithmNames
public static class HashAlgorithmNames
Public Shared Class HashAlgorithmNames
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


All of the properties associated with this class are static. You do not need to create an instance of the class to retrieve a property value.


Md5 Md5 Md5 Md5 Md5

Retrieves a string that contains "MD5".

Sha1 Sha1 Sha1 Sha1 Sha1

Retrieves a string that contains "SHA1".

Sha256 Sha256 Sha256 Sha256 Sha256

Retrieves a string that contains "SHA256".

Sha384 Sha384 Sha384 Sha384 Sha384

Retrieves a string that contains "SHA384".

Sha512 Sha512 Sha512 Sha512 Sha512

Retrieves a string that contains "SHA512".

See also