package com;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
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, "5");
System.out.println("Serial:" + res);
reader.readLine();
} catch (IOException ex) {
}
}
}
分享到:
相关推荐
myeclipse8.5 注册码生成程序. 我的myeclipse一直使用各种的注册码生成程序. 我目前使用的就是这个 注册码 生成程序. 可以使用. Decompiling this copyrighted software is a violation of both your license ...
MyEclipse8.5注册码生成工具
打开软件,在你运行的时候,会提示一个东西,然后你把里面的码进去就行了。
在此输入"Subscriber",然后点击“生成注册码”按钮。系统会自动生成一个Subscription Code,这就是你的注册码。 2. 输入注册码:回到MyEclipse中的警告对话框,点击“Enter Subscription Code…”按钮。这会打开一...
部分代码片段展示了一个名为`MyEclipseGen`的类,该类包含了用于生成注册码的方法。其中`getSerial`方法负责生成实际的注册码,其内部通过一系列算法处理输入的用户ID和许可证号码,结合当前时间等信息生成最终的...
压缩包内的"myeclipse8.5_KeyGen"很可能是这样一个注册码生成器的文件。但强烈建议避免使用此类工具,因为它们不仅违法,还可能对个人设备安全造成风险。相反,选择通过官方渠道购买MyEclipse的许可证,既能确保软件...
这是一个神奇的网站,打开连接,输入你想要给你的myeclipse注册的名字就行了,然后会自动生成一串注册吗!关键的是生成的注册码有效期是3年!你没看错,就是三年,亲测很好用!
这是myEclipse8.5注册码,点击里面的文件MyEclipse8.5.exe即可生成注册码,“使用说明.txt”是免费送的三个注册码。
- `name:myeclipse8.5` - `code:zLR8ZC-855550-68567156703100078` - `name:52accptech` - `code:0LR8ZC-855550-68567157524981450` - `name:bingchuan` - `code:oLR8ZC-855550-68567157669572882` 2. **...
通过上述步骤,我们可以成功地为 MyEclipse 8.5 生成注册码并完成激活。虽然第三方工具可以简化这一过程,但考虑到法律风险和个人信息安全,建议优先考虑官方渠道获取授权。此外,在使用 MyEclipse 进行开发的过程中...
NULL 博文链接:https://wuxiubing.iteye.com/blog/1814114
- **name:myeclipse8.5** - **code:zLR8ZC-855550-68567156703100078** 这个注册码对应的是MyEclipse 8.5版本,可以用于激活该版本的软件,使其解锁全部功能。 - **name:52accptech** - **code:0LR8ZC-855550-...
"使用说明.txt"文件应该包含详细的步骤,指导用户如何使用注册机生成MyEclipse 8.5的注册码。通常,用户需要先运行MyEclipse并获取其安装路径下的某些特定文件或信息,如许可证文件或系统ID,然后将这些信息输入到...
MyEclipse注册机带源码 带有窗体的只要输入就能自动生成注册码。。。。
MyEclipse 8.5的注册码用于激活软件,使用户能够无限制地使用其全部功能。注册码通常由字母和数字组成,每个用户或组织的注册码都是独一无二的。在使用MyEclipse 8.5时,你需要将获得的注册码输入到软件的激活界面...
用于MyEclipse8.5生成注册码的文件,也可用于其它版本
根据提供的文件信息,本文将详细解析“myeclipse8.5生成注册号”的知识点,包括其背景、原理以及实现过程。 ### 一、MyEclipse简介 MyEclipse是一款非常强大的Java集成开发环境(IDE),它基于Eclipse平台并提供了...
MyEclipse注册码生成JAVA类源代码。
打开MyEclipse 8.5,随便建一个项目,把MyEclipseGen.java文件拖到src里面,然后在控制台运行,在控制台输入MyEclipse 8.5 再按一下回车,就会自动生成注册的序列码,复制到注册栏里就可以了
MyEclipse8.5注册机 MyEclipse9.0注册机 带有窗体的只要输入就能自动生成注册码。。。。