CngAlgorithm.Sha1 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
獲得 CngAlgorithm 一個新物件,指定安全雜湊演算法 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。