摘要: // 表达式对象 Pattern p = Pattern. compile("[\\\\?\\*\\:\\[\\]\\/]"); // 创建 Matcher 对象 Matcher n = p.matcher(systemName); M... 阅读全文
posted @ 2016-11-09 10:32 IT_小树 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 第一种 public static string GetMD5(string str) { //创建MD5对象 MD5 md5 = MD5.Create(); //开始使用MD5对象进行加密 byte[] buffer = Encoding.Default.GetBytes(str); byte[] 阅读全文
posted @ 2016-11-09 10:27 IT_小树 阅读(217) 评论(0) 推荐(0) 编辑