C#中获取MD5签名的方法

using System.Web.Security;

string
XMLDataDigest(string xml) { //xml: 需要发送的xml正文内容,如<Data>……</Data> //密钥: 000000 string EnPswdStr = FormsAuthentication.HashPasswordForStoringInConfigFile(xml + "000000", "MD5"); }

 

posted @ 2015-04-29 11:01  飞行在午夜  阅读(1639)  评论(0编辑  收藏  举报