文章分类 -  编程有思

摘要:首先使用如下命名空间using System;using System.Security.Cryptography;函数部分:public static string MD5Encode(string strText){MD5 md5 = new MD5CryptoServiceProvider();byte[] result = md5.ComputeHash(System.Text.Encoding.UTF8.GetBytes(strText));return BitConverter.ToString(result).Replace("-", "" 阅读全文
posted @ 2013-08-14 09:01 sunnybeach 阅读(457) 评论(0) 推荐(0)