2015年4月13日
摘要: public class XMLSerializer { #region (public) xml序列化 /// /// xml序列化 /// /// obj类 /// string字符串 public static string XMLSerialize(object obj) { XmlSe... 阅读全文
posted @ 2015-04-13 18:07 `tonglei 阅读(280) 评论(0) 推荐(0)
摘要: public class AESDE { public AESDE() { } #region AES-BAIDU /// /// AES加密 /// /// 明文 /// 密钥 /// public static string Encrypt( string encryptStr, str... 阅读全文
posted @ 2015-04-13 18:02 `tonglei 阅读(218) 评论(0) 推荐(0)
摘要: /// /// RSA加密解密及RSA签名和验证 /// public class RSADE { public RSADE() { } #region RSA 加密解密 #region RSA 的密钥产生 /// /// RSA 的密钥产生 产生... 阅读全文
posted @ 2015-04-13 18:01 `tonglei 阅读(1291) 评论(0) 推荐(0)