Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HashAlgorithmName.SHA1 Property

Definition

Namespace:
System.Security.Cryptography
Assemblies:
netstandard.dll, System.Security.Cryptography.dll
Assemblies:
netstandard.dll, System.Security.Cryptography.Primitives.dll
Assembly:
System.Security.Cryptography.Primitives.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
HashAlgorithmName.cs
Source:
HashAlgorithmName.cs
Source:
HashAlgorithmName.cs
Source:
HashAlgorithmName.cs
Source:
HashAlgorithmName.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a hash algorithm name that represents "SHA1".

public:
 static property System::Security::Cryptography::HashAlgorithmName SHA1 { System::Security::Cryptography::HashAlgorithmName get(); };
public static System.Security.Cryptography.HashAlgorithmName SHA1 { get; }
static member SHA1 : System.Security.Cryptography.HashAlgorithmName
Public Shared ReadOnly Property SHA1 As HashAlgorithmName

Property Value

A hash algorithm name that represents "SHA1".

Remarks

Due to collision problems with SHA-1, Microsoft recommends a security model based on SHA-256 or better.

Applies to


Feedback

Was this page helpful?