<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_破斧沉舟,百万秦关终属楚.卧薪尝胆,三千越甲可吞吴</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/20588/rss</id><updated>2006-09-01T09:44:08Z</updated><author><name>Cricket</name><uri>http://www.cnblogs.com/Cricket1986/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Cricket1986/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/20588/rss"/><entry><id>http://www.cnblogs.com/Cricket1986/archive/2006/09/01/492479.html</id><title type="text">一个加密算法</title><summary type="text">一个用.NET做的软件，所有的程序集都通过maxtocode加壳过，不能用ildasm反汇编。注册码生成的算法　　采用RSA的数字签名算法，注册时，软件先获得硬盘序列号，用户把硬盘序列号给软件作者。软件作者先用SHA1算法算出硬盘序列号的HASH，然后用数字签名算法利用私钥算出加密的数据，就是注册码了。注册码验证的算法　软件内部有一个RSA公钥，它和作者的私钥一对。软件先用SHA1算法算出硬盘序列...</summary><published>2006-09-01T09:44:00Z</published><updated>2006-09-01T09:44:00Z</updated><author><name>Cricket</name><uri>http://www.cnblogs.com/Cricket1986/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Cricket1986/archive/2006/09/01/492479.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Cricket1986/archive/2006/09/01/492479.html"/></entry><entry><id>http://www.cnblogs.com/Cricket1986/archive/2006/09/01/492473.html</id><title type="text">[转]正则表达式大全</title><summary type="text">摘要：收集一些常用的正则表达式。正则表达式用于字符串处理，表单验证等场合，实用高效，但用到时总是不太把握，以致往往要上网查一番。我将一些常用的表达式收藏在这里，作备忘之用。本贴随时会更新。匹配中文字符的正则表达式： [\u4e00-\u9fa5]匹配双字节字符(包括汉字在内)：[^\x00-\xff]应用：计算字符串的长度（一个双字节字符长度计2，ASCII字符计1）String.prototyp...</summary><published>2006-09-01T09:37:00Z</published><updated>2006-09-01T09:37:00Z</updated><author><name>Cricket</name><uri>http://www.cnblogs.com/Cricket1986/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Cricket1986/archive/2006/09/01/492473.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Cricket1986/archive/2006/09/01/492473.html"/></entry><entry><id>http://www.cnblogs.com/Cricket1986/archive/2006/08/29/489871.html</id><title type="text">考研</title><summary type="text">最近一直忙着考研，一直挂在网上的我现在只能每天上一个小时的网，基本虾米都干不了，为了考研，我忍</summary><published>2006-08-29T14:29:00Z</published><updated>2006-08-29T14:29:00Z</updated><author><name>Cricket</name><uri>http://www.cnblogs.com/Cricket1986/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Cricket1986/archive/2006/08/29/489871.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Cricket1986/archive/2006/08/29/489871.html"/></entry><entry><id>http://www.cnblogs.com/Cricket1986/archive/2006/08/29/489869.html</id><title type="text">COOKIE问题</title><summary type="text">困扰我N天的问题终于解决了，当我用.NET写采集器的时候，遇到需要登陆的问题，这时就要设置COOKIE可是我怎么设置它都不行，后来通过嗅探嗅探数据发现，原来我设置的COOKIE只设置了一半，container.SetCookies(uri,cookie)方法只设置分号前的部分，当我把COOKIE分离后一个一个添加时发现，一切都解决了。1privatestaticvoidSetCookies(str...</summary><published>2006-08-29T14:27:00Z</published><updated>2006-08-29T14:27:00Z</updated><author><name>Cricket</name><uri>http://www.cnblogs.com/Cricket1986/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Cricket1986/archive/2006/08/29/489869.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Cricket1986/archive/2006/08/29/489869.html"/></entry></feed>
