Bagikan melalui


CngAlgorithm.Sha1 Properti

Definisi

Mendapatkan objek baru CngAlgorithm yang menentukan algoritma Algoritma Hash Aman 1 (SHA-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

Nilai Properti

Objek yang menentukan algoritma SHA-1.

Keterangan

Karena masalah tabrakan dengan SHA-1, Microsoft merekomendasikan SHA-256.

Berlaku untuk