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

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

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

    posts - 89, comments - 241, trackbacks - 0, articles - 1
       :: 首頁 ::  :: 聯系 :: 聚合  :: 管理

    MyEclipse6.0注冊機源代碼

    Posted on 2010-06-19 22:09 saobaolu 閱讀(3605) 評論(0)  編輯  收藏 所屬分類: java基礎與算法

     

    package myeclipsegen;

    import java.io.*;

    public class MyEclipseGen {
        
    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.";
        
    public String getSerial(String userId, String licenseNum) {
            java.util.Calendar cal 
    = java.util.Calendar.getInstance();
            cal.add(
    13);
            cal.add(
    6-1);
            java.text.NumberFormat nf 
    = new java.text.DecimalFormat("000");
            licenseNum 
    = nf.format(Integer.valueOf(licenseNum));
            String verTime 
    = new StringBuilder("-").append(new java.text.
                    SimpleDateFormat(
    "yyMMdd").format(cal.getTime())).append("0").
                             toString();
            String type 
    = "YE3MP-";
            String need 
    = new StringBuilder(userId.substring(01)).append(type).
                          append(
    "300").append(licenseNum).append(verTime).toString();
            String dx 
    = new StringBuilder(need).append(LL).append(userId).toString();
            
    int suf = this.decode(dx);
            String code 
    = new StringBuilder(need).append(String.valueOf(suf)).
                          toString();
            
    return this.change(code);
        }

        
    private int decode(String s) {
            
    int i;
            
    char[] ac;
            
    int j;
            
    int k;
            i 
    = 0;
            ac 
    = s.toCharArray();
            j 
    = 0;
            k 
    = ac.length;
            
    while (j < k) {
                i 
    = (31 * i) + ac[j];
                j
    ++;
            }
            
    return Math.abs(i);
        }

        
    private String change(String s) {
            
    byte[] abyte0;
            
    char[] ac;
            
    int i;
            
    int k;
            
    int j;
            abyte0 
    = s.getBytes();
            ac 
    = new char[s.length()];
            i 
    = 0;
            k 
    = abyte0.length;
            
    while (i < k) {
                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;
                i
    ++;
            }
            
    return String.valueOf(ac);
        }

        
    public MyEclipseGen() {
            
    super();
        }

        
    public static void main(String[] args) {
            
    try {
                System.out.println(
    "please input register name:");
                BufferedReader reader 
    = new BufferedReader(new InputStreamReader(
                        System.in));
                String userId 
    = null;
                userId 
    = reader.readLine();
                MyEclipseGen myeclipsegen 
    = new MyEclipseGen();
                String res 
    = myeclipsegen.getSerial(userId, "20");
                System.out.println(
    "Serial:" + res);
                reader.readLine();
            } 
    catch (IOException ex) {
            }
        }
    }
    點此下載源文件和編譯好的class文件吧
    /Files/chenglu/MyEclipse61Gen.zip
    額,還有,MyEclipse6的下載地址是:請使用迅雷下載。。http://downloads.myeclipseide.com/downloads/products/eworkbench/6.0.1GA/MyEclipse_6.0.1GA_E3.3.1_FullStackInstaller.exe

    沒有所謂的命運,只有不同的選擇!
    主站蜘蛛池模板: 99无码人妻一区二区三区免费| 亚洲成a人片7777| 亚洲国产高清国产拍精品| 99精品视频在线观看免费专区| 亚洲色无码一区二区三区| 亚洲AV日韩AV一区二区三曲| 精品国产一区二区三区免费看| 一区二区亚洲精品精华液| 四虎成人免费大片在线| 亚洲av无码专区在线电影天堂| 国产成人免费A在线视频| 美女被羞羞网站免费下载| 亚洲国产精品一区二区三区久久| 无码人妻一区二区三区免费视频 | 久久久久成人片免费观看蜜芽| 国产亚洲一区二区三区在线| 女同免费毛片在线播放| 亚洲日韩图片专区第1页| h视频在线观看免费完整版| 亚洲中文无码mv| 亚洲精品国产精品国自产观看 | 亚洲av一本岛在线播放| 在线免费观看视频你懂的| 免费VA在线观看无码| 国产亚洲AV无码AV男人的天堂| 色猫咪免费人成网站在线观看| 亚洲国产成人九九综合| 日本高清免费不卡在线| 久久久久久久国产免费看 | 免费真实播放国产乱子伦| 久久嫩草影院免费看夜色| 亚洲视频在线观看地址| 午夜男人一级毛片免费| 香蕉免费在线视频| 亚洲六月丁香六月婷婷色伊人| 免费一级特黄特色大片在线| 污污网站18禁在线永久免费观看| 亚洲AV男人的天堂在线观看| 久久亚洲高清综合| 一二三四影视在线看片免费| 一级做a爰片久久毛片免费看|