package Bean;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class Crack {
public static final void main(String[] args) {
String id = "xiang37";///"改为你的注册ID";
String num = "887";//"改为 1-999 的整数";
System.out.println(getSerial(id, "100", num, false));
}
public static String getSerial(String userId, String version,
String licenseNum, boolean selected) {
Calendar cal = Calendar.getInstance();
cal.add(1, 3);
cal.add(6, -1);
NumberFormat nf = new DecimalFormat("000");
licenseNum = nf.format(Integer.valueOf(licenseNum));
String verTime = selected ? (new StringBuffer("-")).append(
(new SimpleDateFormat("yyMMdd")).format(cal.getTime())).append(
"0").toString() : "-1012310";
String type = "YE3MB-";
String need = (new StringBuffer(String.valueOf(userId.substring(0, 1))))
.append(type).append(version).append(licenseNum)
.append(verTime).toString();
String dx = (new StringBuffer(String.valueOf(need)))
.append(
"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.")
.append(userId).toString();
int suf = decode(dx);
String code = (new StringBuffer(String.valueOf(need))).append(
String.valueOf(suf)).toString();
return change(code);
}
private 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);
}
private 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);
}
}
分享到:
相关推荐
请注意:这是 MyEclipse 6.5 Blue 版本的注册码 ,对其它版本不适用,注册时要断网
MyEclipse6.5 Blue Edition的注册码,到2016年的,很难找哦
myeclipse 6.5 GA& Myeclipse 6.5 Blue 都可用的key 到2010年12月31日
myeclipse 6.5blue 注册码
myeclipse Blue 绿色版本的注册码 ,。。
MyEclipse 6.5 Blue 的序列号 绝对好用,用好的记得评价下 谢谢
Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机Myeclipse 6.5 Blue 版的注册机
myeclipseBlue6.5破解,运行即可得到key(创建相同的类运行即可得到key
MyEclipse 6.5 Blue Edition - Milestone 1注册机源码 ,自己定义注册名字运行后获得注册码!文件为java源码
MyEclipse Blue 6.5 注册机
MyEclipse6.5 Blue 注册码生成器
新建个java类,可以自己修改注册名和注册码,过期时间也可自己修改,代码中有标注,运行后生成注册码 再提供一个2014年12月31号过期的注册码: jiangxl wLR8ZO-655888-69678656242496607
适用版本:MyEclipse Blue Edition Version: 6.5.0 Blue GA Build id: 6.5.0-Blue-GA-20080609 有效期可以自己设置,输入用户名,设定日期,用java命令运行,即可获得CDKEY,永不过时
myeclipse blue 6.5 最新注册机 图形界面 2010版本 解决了myeclipse blue 6.5 在2009年大部分过期的问题
Myeclipse blue 6.5 序列号计算工具 Myeclipse blue 6.5 序列号计算工具
myeclipse6.5 blue 注册机
把文件名改成程序中的类名.java 运行程序得到注册码,用户名:zhangzunwei;可以在程序中修改
MyEclipse 6.5 Blue 注册码 源码下载 可用到2013年12月5日
MyEclipse Blue Edition 650
很不错的一个JAVA编译程序!