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

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

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

    隨筆心得

    記我所見,記我所想

    BlogJava 首頁 新隨筆 聯系 聚合 管理
      34 Posts :: 0 Stories :: 16 Comments :: 0 Trackbacks

    package com;

    public class Main {

    ?/**
    ? * @param args
    ? */

    ?private static final String L = "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 static void main(String[] args) {
    ??String userId = "zwm";
    ??// MyEclipse4.1 GA
    ??// 其中491(4.9.1)/400(4.0)/401(4.1)/501(5.1.0),()內為版本號,9912310代表注冊碼過期時間2099/12/31
    ??String need = userId.substring(0, 1) + "YE3MP-401-00-9912310";
    ??// MyEclipse4.0.0 GA
    ??// String need = userId.substring(0,1) + "YE3MP-400-01-9912310";
    ??// MyEclipse4.9.1
    ??// String need = userId.substring(0,1) + "YE3MP-491-01-9912310";
    ??// MyEclipse5.1.0 GA
    ??// String need = userId.substring(0,1) + "YE3MP-501-00-9912310";
    ??String dx = need + L + userId;
    ??int suf = decode(dx);
    ??// System.out.println("SUF:"+suf);
    ??String code = need + suf;
    ??System.out.println(change(code));
    ?}

    ?static int decode(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);
    ?}

    ?static String change(String 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);
    ?}
    }

    posted on 2007-05-06 20:20 源自有緣 閱讀(391) 評論(0)  編輯  收藏

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

    網站導航:
     
    主站蜘蛛池模板: 亚洲av无码成人精品区| 大地资源免费更新在线播放| 亚洲精华国产精华精华液| 人人鲁免费播放视频人人香蕉| 日本高清免费不卡在线| 亚洲av无码一区二区三区四区| 国产aⅴ无码专区亚洲av| 久久久婷婷五月亚洲97号色| 久久精品一本到99热免费| 免费高清av一区二区三区| 亚洲1区2区3区精华液| 免费人成在线观看播放国产| 又黄又大的激情视频在线观看免费视频社区在线| 日本最新免费不卡二区在线| 大片免费观看92在线视频线视频| 亚洲成?v人片天堂网无码| 中文字幕一区二区三区免费视频| 国内外成人免费视频| 久久水蜜桃亚洲AV无码精品| 狠狠色婷婷狠狠狠亚洲综合| 精品国产污污免费网站| 亚洲经典在线中文字幕| 午夜私人影院免费体验区| 午夜成人无码福利免费视频| 久久精品国产亚洲AV麻豆~| 免费A级毛片无码无遮挡内射| 亚洲精华液一二三产区| 亚洲伊人久久综合中文成人网| 亚洲综合一区无码精品| 国产极品美女高潮抽搐免费网站| 亚洲avav天堂av在线网爱情| 午夜精品免费在线观看| 国产v亚洲v天堂a无| 四虎影库久免费视频| 久久精品国产大片免费观看| 日韩亚洲国产综合高清| 成人奭片免费观看| 精品国产免费人成网站| 亚洲一级特黄特黄的大片 | 青草久久精品亚洲综合专区| 国产亚洲婷婷香蕉久久精品|