摘要: using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Drawing;using System.Drawing.Imaging;using System.Drawing.Drawing2D 阅读全文
posted @ 2012-11-07 12:02 Mark1997 阅读(695) 评论(1) 推荐(0) 编辑
摘要: //创建一个MD5加密字符类View Code //MD5public class DESEncrypt{ public static string Encrypt(string strText){ byte [] data=System.Text.Encoding.Unicode.GetBytes (strText.toCharArray());System.Security.Cryptography.MD5 MD5=NEW System.Security.CryptoServiceProvider();byte [] result=MD5.ComputeHash(da... 阅读全文
posted @ 2012-11-07 11:13 Mark1997 阅读(465) 评论(0) 推荐(0) 编辑