Skip to main content
HashAlgorithmNames class

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

Syntax


var hashAlgorithmNames = Windows.Security.Cryptography.Core.HashAlgorithmNames;

public static class HashAlgorithmNames

Public NotInheritable Class HashAlgorithmNames

public ref class HashAlgorithmNames abstract sealed 

Members

The HashAlgorithmNames class has these types of members:

Properties

The HashAlgorithmNames class has these properties.

PropertyAccess typeDescription

Md5

Read-only

Retrieves a string that contains "MD5".

Sha1

Read-only

Retrieves a string that contains "SHA1".

Sha256

Read-only

Retrieves a string that contains "SHA256".

Sha384

Read-only

Retrieves a string that contains "SHA384".

Sha512

Read-only

Retrieves a string that contains "SHA512".

 

Remarks

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.winmd

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Version(0x06020000)]

See also

HashAlgorithmProvider
Object