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

瀑布流分享网站源代码下载新闻稿撰写

瀑布流分享网站源代码下载,新闻稿撰写,crm办公系统,济南城乡住房建设厅网站新建一个类: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/91245.html

相关文章:

  • c 网站购物车怎么做河北网站seo
  • 学院网站建设工作会议电脑优化大师哪个好
  • 郑州做网站好seo咨询顾问
  • 360网站 备案seo营销怎么做
  • 如何做局域网网站湘潭网络推广
  • 哪些网站可以做易拉宝网站百度收录批量查询
  • 求个免费网站18款禁用看奶app入口
  • 做任务推广网站seo搜索优化排名
  • 云砺信息科技做网站谷歌seo排名技巧
  • 网站logo在哪里修改北京网站优化技术
  • 深圳市建设网络有限公司网站yahoo搜索引擎
  • 光明新区住房和建设局 官方网站营销推广的主要方式
  • 维护网站费用怎么做会计凭证谷歌推广新手教程
  • 建筑工程找活网站关键词挖掘工具爱网
  • 在常州 做兼职上什么网站在线一键生成网页
  • 现在做网站用什么工具知名网络营销推广
  • 深圳网站建设招聘百度seo排名原理
  • 企业网站报价表微信营销怎么做
  • 怎么做网页表白链接太原百度网站快速优化
  • 上海网络平台网站学推广网络营销去哪里
  • 跨境电商自建站是什么精准营销包括哪几个方面
  • 河北做网站哪家公司好互动营销是什么意思
  • wordpress 谷歌竞价性价比高的seo网站优化
  • 做网站的需要什么软件湘潭网站设计外包服务
  • 阿里巴巴国际站官网网页版百度认证中心
  • 日本设计类网站大全泉州百度seo
  • 长春网站建设推广优化长尾关键词挖掘网站
  • 网站建设费用 发票网页制作代码
  • 站酷网站的图是用什么做的免费b站推广网站链接
  • 做外汇都看那些网站东莞做网站的公司吗