CngAlgorithm.MD5 属性

定义

获取一个新的 CngAlgorithm 对象,它指定消息摘要 5 (MD5) 哈希算法。Gets a new CngAlgorithm object that specifies the Message Digest 5 (MD5) hash algorithm.

public:
 static property System::Security::Cryptography::CngAlgorithm ^ MD5 { System::Security::Cryptography::CngAlgorithm ^ get(); };
public static System.Security.Cryptography.CngAlgorithm MD5 { get; }
member this.MD5 : System.Security.Cryptography.CngAlgorithm
Public Shared ReadOnly Property MD5 As CngAlgorithm

属性值

CngAlgorithm

一个指定 MD5 算法的对象。An object that specifies the MD5 algorithm.

注解

由于 MD5 发生冲突,Microsoft 建议使用基于 SHA256 的安全模型。Due to collision problems with MD5, Microsoft recommends a security model based on SHA256.

适用于