l8487  

2012年3月14日

摘要: ///3DES加密publicstaticstringTripleDESEncrypt(stringpToEncrypt,stringsKey){try{sKey=sKey.Substring(0,24);TripleDESCryptoServiceProviderdes=newTripleDESCryptoServiceProvider();des.Key=ASCIIEncoding.ASCII.GetBytes(sKey);des.IV=newByte[]{0,00,00,00,00,00,00,00,};//ASCIIEncoding.ASCII.GetBytes(sKey.Substr 阅读全文
posted @ 2012-03-14 10:47 l8487 阅读(795) 评论(0) 推荐(0)