📜  创建 XML c# 代码示例的哈希

📅  最后修改于: 2022-03-11 14:49:06.340000             🧑  作者: Mango

代码示例1
System.Security.Cryptography.MACTripleDES hash = new System.Security.Cryptography.MACTripleDES(Encoding.Default.GetBytes("mykey"));
string hashString = Convert.ToBase64String(hash.ComputeHash(Encoding.Default.GetBytes(myXMLString)));