CngAlgorithm.Sha1 Egenskap

Definition

Hämtar ett nytt CngAlgorithm objekt som anger SHA-1-algoritmen (Secure Hash Algorithm 1).

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

Egenskapsvärde

Ett objekt som anger SHA-1-algoritmen.

Kommentarer

På grund av kollisionsproblem med SHA-1 rekommenderar Microsoft SHA-256.

Gäller för