摘要: 1 public static string GetMD5(string str) 2 { 3 using (MD5 md5 = MD5.Create()) 4 { 5 byte[] data = md5.ComputeHash(Encoding.Default.GetBytes(str)); 6 StringBuilder sb = new StringBuilder(); 7 foreach (byte b in ... 阅读全文
posted @ 2013-04-19 23:48 cyes 阅读(249) 评论(0) 推荐(0)