摘要: public static string GetUniqueIdentifier(int length) { int maxSize = length; char[] chars = new char[62]; string a; a = "abcdefghijklmnopqrstuvwxyzABC 阅读全文
posted @ 2016-04-22 17:32 zaiiiPan 阅读(825) 评论(0) 推荐(0) 编辑
摘要: 直接贴代码了,你直接拷贝然后另存为html就可以用了,不多说,请看: 计算时间天数 ... 阅读全文
posted @ 2015-05-15 22:33 zaiiiPan 阅读(1889) 评论(0) 推荐(0) 编辑
摘要: SQL 阅读全文
posted @ 2015-05-14 10:10 zaiiiPan 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 今天在stackexchange上看到一篇非常有趣的帖子,是关于如何用各种编程语言实现2 + 2 = 5 的,2 + 2怎么会等于5呢?我一开始也很不解,不过看了下面各种编程语言实现的方法,我震惊了,让我又一次相信人类真是一种不可思议的生物。1、JAVAimport java.lang.reflec... 阅读全文
posted @ 2015-05-14 10:06 zaiiiPan 阅读(206) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include//#defineCRYPT_ONE_BYTEtypedefcharint8;typedefunsignedcharuint8;typedefshortint16;typedefunsignedshortuint16;t... 阅读全文
posted @ 2015-04-15 20:04 zaiiiPan 阅读(784) 评论(0) 推荐(0) 编辑
摘要: .net是一种建立在虚拟机上执行的语言,它直接生成 MSIL 的中间语言,再由.net编译器 JIT 解释映象为本机代码并交付CPU执行。中间语言很容易被反编译,所以研究下如何有效的保护dll文件。 我大致的方法为 :强签名+混淆+加密。 强签名 强命名程序集,可以确保你的程序集唯一,而不被篡改、冒... 阅读全文
posted @ 2014-10-16 14:07 zaiiiPan 阅读(1435) 评论(1) 推荐(0) 编辑
摘要: Toggle1 Toggle2 ... 阅读全文
posted @ 2014-10-16 11:48 zaiiiPan 阅读(733) 评论(0) 推荐(0) 编辑