asp.net DES加密解密
<br />//加密 public string DesEncrypt(string strText, string strEncrKey) { byte[] byKey=null; byte[] IV= {0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF}; try { byKey = System.Text.Encoding.UTF8.GetBytes(strEncrKey.Substring(0,8)); DESCryptoServiceProvider d
转载
2010-11-15 09:30:00 ·
998 阅读 ·
0 评论