CngAlgorithm.Sha1 屬性

定義

取得新的 CngAlgorithm 物件,該物件指定 Secure Hash Algorithm 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

屬性值

指定 SHA-1 演算法的物件。

備註

由於 SHA-1 發生衝突問題,Microsoft建議 SHA-256。

適用於