CngAlgorithm.Sha1 Property

Definition

Gets a new CngAlgorithm object that specifies the Secure Hash Algorithm 1 (SHA-1) algorithm.

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

Property Value

An object that specifies the SHA-1 algorithm.

Remarks

Due to collision problems with SHA-1, Microsoft recommends SHA-256.

Applies to