摘要: /// /// MD5 32位加密/// /// /// static string GetMd5Str32(string str){MD5CryptoServiceProvider md5Hasher = new MD5CryptoServiceProvider();// Convert the input string to a byte array and compute the hash. char[] temp = str.ToCharArray();byte[] buf = new byte[temp.Length];for (int i = 0; i (text2);string 阅读全文
posted @ 2013-08-13 23:18 qqnihao 阅读(1265) 评论(0) 推荐(0)
摘要: AOP:面向切面编程,也就是在运行过程中,按照需要动态加载功能块PIAB:含义可以从下面提取Microsoft Patterns & Practices团队在2007年发布的Enterprise Library 3.0 February 2007 CTP中,我们惊喜地发现了AOP的踪迹,其名为Policy Injection Application Block(PIAB)。Enterprise Library的产品经理Tom Hollander和架构师Edward Jezierski都相继在自己的博客上介绍了PIAB。从特征与功能来看,已经基本具备了AOP的要求。从技术实现来看,PIA 阅读全文
posted @ 2013-08-13 23:09 qqnihao 阅读(400) 评论(0) 推荐(0)