当前位置: 首页 > news >正文

瀑布流分享网站源代码下载百度数据平台

瀑布流分享网站源代码下载,百度数据平台,金融网站源码,做电子商务平台网站新建一个类:MyEclispeGen后,点击run as 运行,然后输入用户名*****,回车就可以出现注册码啦,我试过了可以用。 代码如下: package myeclipse; import java.io.*; public class MyEclipseGen { pr…

新建一个类:MyEclispeGen后,点击run as 运行,然后输入用户名*****,回车就可以出现注册码啦,我试过了可以用。

 

代码如下:

package myeclipse;

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) {  
         }  
     }  
 }

http://www.tj-hxxt.cn/news/102768.html

相关文章:

  • 网上手机商城网站建设网站seo优化免费
  • 做灯具外贸哪个网站好做山东seo多少钱
  • 上海网站建设|网站制作seo工具
  • 音乐网站建设论文50篇经典软文100字
  • 设计新闻发布网站模板无锡网站建设优化公司
  • wordpress 微信咨询代码医疗网站优化公司
  • 大连免费建站模板怎样把产品放到网上销售
  • 简约的网站设计界面seo网站优化平台
  • 网站制作流程有哪些5000人朋友圈推广多少钱
  • 天元建设集团有限公司审计项目seo网络优化师招聘
  • html5网站建设基本流程图游戏推广引流
  • 做网站尺寸一般都多大爱站网关键词查询网站
  • 宜宾做网站公司建立网站的步骤
  • 易语言做试用点击网站杭州网站
  • 做网站的公司没有技术seo网站推广方式
  • 公司网站制作方案个人小白如何做手游代理
  • 环球资源网的优势杭州网站推广优化公司
  • 网站建设费能不能认定为广告费西安互联网推广公司
  • 怎么做网站公司宣传资料深圳seo优化外包公司
  • 广州网站设计工作室资源
  • 长沙市住房和城乡建设委员会网站超级外链
  • 购物网站难做吗seo免费教程
  • 广州专业网站改版设计公司百度快照seo
  • 网页设计做网站首页品牌策划方案范文
  • 推广网站有多少家西安百度关键词优化
  • php部署网站软文广告是什么
  • 瑞安外贸网站制作百度站长工具综合查询
  • 个人网站怎么申请北京百度推广优化排名
  • 云库做供应链的网站优化关键词排名外包
  • 个人艺术作品网站建设策划书搜索引擎推广seo