<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 源自有緣 閱讀(394) 評論(0)  編輯  收藏

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

    網站導航:
     
    主站蜘蛛池模板: a级毛片免费完整视频| 亚洲男人天堂影院| 亚洲AV无码AV男人的天堂不卡| 一级做a爰全过程免费视频| 自拍偷自拍亚洲精品被多人伦好爽| 91在线手机精品免费观看| 色噜噜AV亚洲色一区二区| 一级片在线免费看| 国产亚洲日韩在线三区| j8又粗又长又硬又爽免费视频| 麻豆成人久久精品二区三区免费| 亚洲国产AV无码专区亚洲AV| 日韩人妻一区二区三区免费| 亚洲一区免费观看| 国产免费久久精品99re丫y| 亚洲H在线播放在线观看H| 成年女人男人免费视频播放 | 亚洲乱码无人区卡1卡2卡3| 中文字幕看片在线a免费| 亚洲精品无码午夜福利中文字幕 | 国产一级黄片儿免费看| 亚洲AV无码成人网站久久精品大 | 免费观看黄网站在线播放| 亚洲日韩国产一区二区三区在线| 国产福利免费在线观看| 丁香六月婷婷精品免费观看| 亚洲精品成人片在线播放 | 免费高清小黄站在线观看| 成人一级免费视频| 久久久亚洲精品视频| 中文字幕人成无码免费视频 | 亚洲综合av永久无码精品一区二区 | 在线观看的免费网站| 精品亚洲成A人在线观看青青| 国产亚洲精品拍拍拍拍拍| 精品无码无人网站免费视频 | 日韩精品亚洲aⅴ在线影院| 67194国产精品免费观看| 亚洲色欲久久久久综合网| 99久久久国产精品免费牛牛四川| 亚洲日本VA中文字幕久久道具|