摘要: #region 用md5加密字符串后返回 public string Md5(string s) { //用md5加密s,并返回 byte[] result = Encoding.Default.GetBytes(s); MD5 md5 = new MD5CryptoServiceProvider(); byte[] output = md5.ComputeHash(result); s = BitConverter.ToString(output).Replace("-", ""); return... 阅读全文
posted @ 2012-10-22 21:41 yuloe2012 阅读(253) 评论(0) 推荐(0) 编辑