2011年11月4日
摘要: public static string StringToMD5Hash(string inputString) { MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider(); byte[] encryptedBytes = md5.ComputeHash(Encoding.ASCII.GetBytes(inputString)); StringBuilder sb = new StringBuilder(); for (int i = 0; i < encryptedBytes.L... 阅读全文
posted @ 2011-11-04 09:26 jackdesk 阅读(194) 评论(0) 推荐(0) 编辑