随笔分类 -  C#

摘要:关于rsa加密有私钥、公钥私钥:对外不公开,供自己签名对外输出,对传入的数据进行解密。公钥:对外公开,供外部人员对数据进行加密传出,然后对传入数据进行验签。rsa对数据加密有长度限制,若长度可控的情况下,建议转换byte[]进行分段加密传输,若对于大文件的传输:建议一:使用des、aes进行加密大文... 阅读全文
posted @ 2015-12-25 13:55 Albertjoey 阅读(2741) 评论(0) 推荐(0)
摘要:下载log4net.dll程序添加引用官方网站:http://logging.apache.org/log4net/官方给出的示例:http://logging.apache.org/log4net/release/config-examples.html以下是log4net.cofig xml配置... 阅读全文
posted @ 2015-11-03 21:57 Albertjoey 阅读(257) 评论(0) 推荐(0)
摘要:class Program { static void Main(string[] args) { Thread[] threads = new Thread[10]; Account acc = new Acco... 阅读全文
posted @ 2015-10-21 09:29 Albertjoey 阅读(107) 评论(0) 推荐(0)