摘要:
des是常用的对称加密解密方法,下面是C#下的核心代码/**///////进行DES加密。//////要加密的字符串。///密钥,且必须为8位。///以Base64格式返回的加密字符串。publicstringEncrypt(stringpToEncrypt,stringsKey){using(DE... 阅读全文
posted @ 2007-12-05 09:43 weekzero 阅读(23079) 评论(6) 推荐(0)
|
|||
|
摘要:
des是常用的对称加密解密方法,下面是C#下的核心代码/**///////进行DES加密。//////要加密的字符串。///密钥,且必须为8位。///以Base64格式返回的加密字符串。publicstringEncrypt(stringpToEncrypt,stringsKey){using(DE... 阅读全文
posted @ 2007-12-05 09:43 weekzero 阅读(23079) 评论(6) 推荐(0) |
|||