摘要: 阅读全文
posted @ 2013-07-14 10:50 未始有物 阅读(431) 评论(0) 推荐(0)
摘要: /// /// DES加密 /// /// /// /// public static string DESEncrypt(string pToEncrypt, string sKey) { if (sKey == string.Empty) sKey = "pccweb12".PadLeft(8, 'X'); DESCryptoServiceProvider des = new DESCryptoServiceProvider(); byte[] inputByteArray = Encoding.Default.GetBytes(pToEncrypt); 阅读全文
posted @ 2013-07-14 10:13 未始有物 阅读(510) 评论(0) 推荐(0)