摘要: 1/**//// 2/// 用md5加密 3/// 4/// 输入的数据 5/// 6public static string MD5(string Sourcein) 7{ 8 MD5CryptoServiceProvider MD5CSP = new MD5CryptoServiceProvider(); 9 byte[] MD5Source = Syst... 阅读全文
posted @ 2008-03-25 15:33 zijinguang 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 1 /**//// 2 /// 过滤SQL注入 3 /// 4 /// 5 /// 6 public static bool CheckSQLInjection(string strSQL) 7 { 8 if (string.IsNullOrEmpty(strSQL)) 9 { 10 ... 阅读全文
posted @ 2008-03-25 10:21 zijinguang 阅读(121) 评论(0) 推荐(0) 编辑