摘要: 匹配中文:[\u4e00-\u9fa5]英文字母:[a-zA-Z]数字:[0-9]匹配中文,英文字母和数字及_:^[\u4e00-\u9fa5_a-zA-Z0-9]+$ 阅读全文
posted @ 2017-12-21 15:13 夏雨曦 阅读(102) 评论(0) 推荐(0) 编辑
摘要: using System.Security.Cryptography; static string md5(string str, int code) { if (code == 16) //16位MD5加密(取32位加密的9~25字符) { return System.Web.Security.F 阅读全文
posted @ 2017-12-21 10:23 夏雨曦 阅读(1432) 评论(0) 推荐(0) 编辑