<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 0, 文章 - 1, 評論 - 0, 引用 - 0
    數(shù)據(jù)加載中……

    [搜藏]myeclipse6.0.1GA序列號生成類


     1
     package net.fancyleeo.myeclipse6.keygen
     2 /*已經(jīng)生成好的一個:
     3  *leeo
     4  *yLR8ZC-855575-6754715443354716
     5  */
     6 
     7 import java.io.*;
     8 
     9 public class KeyGen{
    10     private static final String LL = "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.";
    11     public String getSerial(String userId, String licenseNum){
    12         java.util.Calendar cal = java.util.Calendar.getInstance();
    13         cal.add(13);
    14         cal.add(6-1);
    15         java.text.NumberFormat nf = new java.text.DecimalFormat("000");
    16         licenseNum = nf.format(Integer.valueOf(licenseNum));
    17         String verTime = new StringBuilder("-").append(new java.text.
    18                 SimpleDateFormat("yyMMdd").format(cal.getTime())).append("0").
    19                          toString();
    20         String type = "YE3MP-";
    21         String need = new StringBuilder(userId.substring(01)).append(type).
    22                       append("300").append(licenseNum).append(verTime).toString();
    23         String dx = new StringBuilder(need).append(LL).append(userId).toString();
    24         int suf = this.decode(dx);
    25         String code = new StringBuilder(need).append(String.valueOf(suf)).
    26                       toString();
    27         return this.change(code);
    28     }
    29 
    30     private int decode(String s) {
    31         int i;
    32         char[] ac;
    33         int j;
    34         int k;
    35         i = 0;
    36         ac = s.toCharArray();
    37         j = 0;
    38         k = ac.length;
    39         while (j < k) {
    40             i = (31 * i) + ac[j];
    41             j++;
    42         }
    43         return Math.abs(i);
    44     }
    45 
    46     private String change(String s) {
    47         byte[] abyte0;
    48         char[] ac;
    49         int i;
    50         int k;
    51         int j;
    52         abyte0 = s.getBytes();
    53         ac = new char[s.length()];
    54         i = 0;
    55         k = abyte0.length;
    56         while (i < k) {
    57             j = abyte0[i];
    58             if ((j >= 48&& (j <= 57)) {
    59                 j = (((j - 48+ 5% 10+ 48;
    60             } else if ((j >= 65&& (j <= 90)) {
    61                 j = (((j - 65+ 13% 26+ 65;
    62             } else if ((j >= 97&& (j <= 122)) {
    63                 j = (((j - 97+ 13% 26+ 97;
    64             }
    65             ac[i] = (char) j;
    66             i++;
    67         }
    68         return String.valueOf(ac);
    69     }
    70 
    71     public KeyGen() {
    72         super();
    73     }
    74 
    75     public static void main(String[] args){
    76         try {
    77             System.out.println("please input register name:");
    78             BufferedReader reader = new BufferedReader(new InputStreamReader(
    79                     System.in));
    80             String userId = null;
    81             userId = reader.readLine();
    82             KeyGen myeclipsegen = new KeyGen();
    83             String res = myeclipsegen.getSerial(userId, "20");
    84             System.out.println("Serial:" + res);
    85             reader.readLine();
    86         } catch (IOException ex){
    87         }
    88     }
    89 }

    http://m.tkk7.com/Files/jkleeo/KeyGen.zip

    posted on 2009-09-27 18:52 fancyLeeo 閱讀(149) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發(fā)表評論。

    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚洲国产日韩视频观看| 一个人免费视频在线观看www| 亚洲AV永久无码精品一区二区国产 | 亚洲精品无码少妇30P| 精品亚洲成α人无码成α在线观看| 国产一级片免费看| 亚洲狠狠婷婷综合久久蜜芽| 亚洲一区二区三区在线播放| 在线看片无码永久免费视频| 一级毛片视频免费观看| 亚洲中文字幕久在线| 国产成人99久久亚洲综合精品| 亚洲香蕉免费有线视频| 人妻仑刮八A级毛片免费看| 亚洲欧洲中文日产| 久久精品国产精品亚洲人人| 午夜国产精品免费观看| 中国一级特黄的片子免费 | 亚洲国产成a人v在线| 国产aⅴ无码专区亚洲av麻豆| 国内免费高清在线观看| 成人性生交大片免费看好| 精品亚洲成A人在线观看青青| 亚洲蜜芽在线精品一区| 国产亚洲av片在线观看18女人| 国产免费av片在线看| 久久久国产精品福利免费| 美女羞羞视频免费网站| 亚洲一级视频在线观看| 久久精品国产96精品亚洲| 亚洲国产成人精品久久久国产成人一区二区三区综 | 美女被免费视频网站| 亚洲AV无码久久久久网站蜜桃| 国产AV无码专区亚洲Av| 亚洲AV成人精品日韩一区18p| 无码日韩精品一区二区免费| 99视频有精品视频免费观看| 日韩精品无码免费专区午夜不卡| 最新亚洲人成无码网www电影| 亚洲成a人片在线观看精品| 亚洲系列中文字幕|