2013年11月26日

摘要: public string Encrypt(string stringToEncrypt, string sKey) { DESCryptoServiceProvider des = new DESCryptoServiceProvider(); byte[] inputByteArray = Encoding.GetEncoding("UTF-8").GetBytes(stringToEncrypt); des.Key = ASCIIEncoding.UTF8.GetBytes(sKey); des.IV = ASCIIEncoding.UTF8.GetBytes(sKe 阅读全文
posted @ 2013-11-26 20:17 Technology 阅读(202) 评论(0) 推荐(0) 编辑

导航