Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HashAlgorithmNames.Sha1 | sha1 property

Applies to Windows and Windows Phone

Retrieves a string that contains "SHA1".

Syntax


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

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

String that contains "SHA1".

Remarks

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

HashAlgorithmNames
HashAlgorithmProvider

 

 

Show:
© 2015 Microsoft