yyg1107

这家伙很懒,什么都没有留下
posts(15) comments(20) trackbacks(0)
  • BlogJava
  • 联系
  • RSS 2.0 Feed 聚合
  • 管理

公告

联系方式:     



常用链接

  • 我的随笔
  • 我的评论
  • 我的参与
  • 最新评论

留言簿

  • 给我留言
  • 查看公开留言
  • 查看私人留言

随笔分类(11)

  •  axis(1)
  •  hibernate(1)
  •  java(2)
  •  js(2)
  •  other(5)

随笔档案(8)

  • 2008年6月 (1)
  • 2007年8月 (2)
  • 2007年4月 (3)
  • 2006年11月 (2)

文章分类(37)

  •  C++Builder(3)
  •  eclipse(2)
  •  html(4)
  •  java(8)
  •  jbpm(6)
  •  JS(4)
  •  other(4)
  •  question handly!(4)
  •  web容器(1)
  •  workflow(1)

文章档案(36)

  • 2007年4月 (2)
  • 2007年3月 (1)
  • 2007年1月 (2)
  • 2006年12月 (2)
  • 2006年11月 (3)
  • 2006年10月 (11)
  • 2006年9月 (2)
  • 2006年7月 (2)
  • 2006年6月 (1)
  • 2006年5月 (1)
  • 2006年4月 (6)
  • 2006年3月 (3)

新闻档案(1)

  • 2007年1月 (1)

收藏夹(16)

  •  好的BLOG(9)
  •  收藏----blog(7)

JavaBlog

  • amigoxie

matrix

搜索

  •  

积分与排名

  • 积分 - 32778
  • 排名 - 1316

最新评论

  • 1. re: JS实现文本框输入提供选择框的提示功能-1
  • werewrewrwer
  • --wrewrwe
  • 2. re: struts启动的一个错误!
  • 更名struts-config.xml, remove && add struts capability,重新生成一个config.xml。
  • --barryken
  • 3. p
  • 42
  • --2
  • 4. re: hql语句----随机查询取头10条记录[未登录]
  • 没意思,这不就是分页的那一部分代码嘛!
  • --啊啊
  • 5. re: 第一次做成功的AXIS例子[未登录]
  • 楼主:能不能留下你的联系方式!探讨一下相关问题...
  • --hehe

阅读排行榜

  • 1. JS实现文本框输入提供选择框的提示功能-1(7293)
  • 2. 第一次做成功的AXIS例子(2431)
  • 3. 命令行创建ODBC数据源(1545)
  • 4. struts启动的一个错误!(1265)
  • 5. hibernate调用存储过程例子(1007)

评论排行榜

  • 1. JS实现文本框输入提供选择框的提示功能-1(7)
  • 2. 第一次做成功的AXIS例子(5)
  • 3. struts启动的一个错误!(4)
  • 4. 转:如何在JAVA中使用日期 (0)
  • 5. 命令行创建ODBC数据源(0)

View Post

Myeclipse注册码生成算法

  import   java.io.  *  ;
 
public     class   Crack    {
    
public     static   String convert(String s)    {
        
if   (s   ==     null     ||   s.length()   ==     0  )
            
return   s;
        
byte   abyte0[]   =   s.getBytes();
        
char   ac[]   =     new     char  [s.length()];
        
int   i   =     0  ;
        
for   (  int   k   =   abyte0.length; i   <   k; i  ++  )    {
            
int   j   =   abyte0[i];
            
if   (j   >=     48     &&   j   <=     57  )
               j  
=   ((j   -     48  )   +     5  )   %     10     +     48  ;
            
else     if   (j   >=     65     &&   j   <=     90  )
               j  
=   ((j   -     65  )   +     13  )   %     26     +     65  ;
            
else     if   (j   >=     97     &&   j   <=     122  )
               j  
=   ((j   -     97  )   +     13  )   %     26     +     97  ;
           ac[i]  
=   (  char  ) j;
       }
 
        
return   String.valueOf(ac);
   }
 
 
     
private     static     int   hash(String s)    {
        
int   i   =     0  ;
        
char   ac[]   =   s.toCharArray();
        
int   j   =     0  ;
        
for   (  int   k   =   ac.length; j   <   k; j  ++  )
           i  
=     31     *   i   +   ac[j];
        
return   Math.abs(i);
   }
 
 
     
private     static   String inputString()    {
       BufferedReader bufferedreader  
=     new   BufferedReader(
                
new   InputStreamReader(System.in));
       String s  
=     null  ;
        
try      {
           s  
=   bufferedreader.readLine();
       }
    catch   (IOException ioexception)    {
           ioexception.printStackTrace();
       }
 
        
return   s;
   }
 
 
     
public     static     void   main(String args[])    {
        
try      {
           System.out.println( 
"  My Eclipse IDE v9.99 Keygen  "  );
           System.out.print( 
"  License Name :   "  );
           String s  
=   inputString();
           String licStr  
=     "  YE3MP-999-00-9912310  "  ;
           String h  
=   s.substring(  0  ,   1  )
                    
+   licStr
                    
+     "  Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf). Under section 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years imprisonment for a first offense. Think about it; pay for a license, avoid prosecution, and feel better about yourself.  "  
                    
+   s;
            
int   j   =   hash(h);

           String lic  
=   s.substring(  0  ,   1  )   +   licStr   +   Integer.toString(j);
           System.out.println( 
"  License Key :   "     +   convert(lic));
       }
    catch   (Exception exception)    {
           exception.printStackTrace();
       }
 
   }
 
}
 

posted on 2006-12-07 22:42 young 阅读(440) 评论(0)  编辑  收藏 所属分类: eclipse

 
Powered by:
BlogJava
Copyright © young