import java.io.*;
public class MyEclipse61Gen {
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(1, 3);
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(0, 1)).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 MyEclipse61Gen() {
}
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();
MyEclipse61Gen myeclipsegen = new MyEclipse61Gen();
String res = myeclipsegen.getSerial(userId, "20");
System.out.println("Serial:" + res);
reader.readLine();
} catch (IOException ex) {
}
}
}
昨天重装机后,把开发环境也都进行了升级,而且新安装了MyEclipse6,发现原来MyEclipse5的注册机不能用了,下面是我自己用的注册机源码,分享给大家,一起学习、交流,共同提高。
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(1, 3);
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(0, 1)).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) ...{
}
}
}
分享到:
相关推荐
MyEclipse6.0.1注册机
myeclipse 6.01注册机源码 <br>本人测试过,可以使用. .Java的源码,如果你不知道怎么使用的话那我就无能为力
MyEclipse 6.0.1GA 注册码9月21日到期,特贡献注册机
myeclipse6 注册机源码。很好用,自己运行一下,就随时可以获得注册码了。
### myEclipse 6.0.1 配置详尽指南 #### 一、安装与配置 JDK 1.6 为了确保 myEclipse 6.0.1 能够正常运行,首先需要安装 Java 开发工具包 (JDK) 1.6。以下是安装和配置 JDK 1.6 的步骤: 1. **下载 JDK 1.6** ...
myeclipse6注册机 myeclipse6注册机 myeclipse6注册机
MyEclipse 6.0注册机 MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse 6.0注册机MyEclipse...
MyEclipse 6.0.1 注册码
其中,“myeclipse6.0.1”表明了适用的软件版本;“2015chinahezhiyong”可能是表示注册码的有效期限及相关信息;而“pLR8ZC-855575-60515757548330724”则是具体的注册码内容。 #### 注册码有效期 文件中提到该...
MyEclipse6.0.1注册码获取器,运行该程序后,将自动获取注册码,以激活MyEclipse6.0.1
Myeclipse 8.6 注册机算法源码,在MyEclipse中导入后运行就能得到3年的注册码
MyEclipse8.5注册机 MyEclipse9.0注册机 带有窗体的只要输入就能自动生成注册码。。。。
MyEclipse注册机带源码 带有窗体的只要输入就能自动生成注册码。。。。
MyEclipse 6.0注册机.rarMyEclipse 6.0注册机.rarMyEclipse 6.0注册机.rarMyEclipse 6.0注册机.rarMyEclipse 6.0注册机.rarMyEclipse 6.0注册机.rar
本人亲测能完成Myeclipse8.5 的注册!
【MyEclipse10.0注册机】 MyEclipse是一款基于Eclipse平台的集成开发环境(IDE),专门针对Java、Web、J2EE、PHP等应用程序的开发。它由Genuitec公司开发,提供了丰富的功能,包括代码编辑、调试、测试、部署等,是...
获得MyEclipse6.0.1注册码 新建test java工程 test包 再MyEclipseGen类copy代码进去
1.解压MyEclipse 6.0 KeyGen.rar. 2.运行MyEclipseKeyGen.jar. 3.填写Subscriber(随便填),其他默认选项点击:Generate 按钮,生成注册码。 4.注册就不用我说了吧。
在MyEclipse控制台上运行就可以。 输入你的要注册的名字 自动生成注册码了。 注册时要断网啊。
myeclipse 破解一直以来都是大家需要的,特意总结了三个版本的破解方法,myeclipse 10 ,2013 ,2014 破解工具 注册机,内附破解工具注册机源码