CngAlgorithm.Sha1 属性

定义

获取一个新的 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。

适用于