文档章节

EditPlus注册码

素人派
 素人派
发布于 2016/12/31 20:44
字数 310
阅读 14
收藏 0
  • 介绍
下面的一段js可以生成EditpPlus的注册码: [codesyntax lang="javascript"]
function generate_editplus_regcode()
{
    var list = [0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8000,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16000,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32000,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];
    var hexchars = ['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'];
    var regcode = new Array(29);
    var i = 0, j = 0, k = 0;
    var len, temp, sum, result;
    var username = document.getElementById("username").value;
    username = username.replace(/^\s+|\s+$/g, "");
 
    for(i = 0;i < 5;i++,k++)
    {
        for(j = 0;j < 5;j++,k++)
        {
            regcode[k] = hexchars[parseInt(Math.random() * 16)];
        }
        if(k == 29) break;
        regcode[k] = '-';
    }
     
    len = username.length;
 
    sum = 1;
    for(i = 0;i < len;i++)
        sum += username.charCodeAt(i);
    temp = (parseInt( (sum + 23) / 6 ) + 3) * 7 % 16;
    regcode[6] = hexchars[temp & 0xF];
     
    sum = 1;
    for(i = 0;i < len;i++)
        sum += username.charCodeAt(i);
    temp = parseInt( (3 * sum + 39) / 8 ) % 16;
    regcode[9] = hexchars[temp & 0xF];
     
    sum = 1;
    for(i = 0;i < len;i++)
        sum += username.charCodeAt(i);
    temp = parseInt( (3 * sum + 19) / 9 ) % 16;
    regcode[7] = hexchars[temp & 0xF];
     
    sum = 1;
    for(i = 0;i < len;i++)
        sum += username.charCodeAt(i);
    temp = parseInt( (sum + 10) / 3 ) * 8 % 16;
    regcode[10] = hexchars[temp & 0xF];
     
    sum = 1;
    for(i = 0;i < len;i++)
        sum += username.charCodeAt(i);
    temp = (parseInt( (9 * sum + 10) / 3 ) + 36) % 16;
    regcode[4] = hexchars[temp & 0xF];
     
    sum = 1;
    for(i = 0;i < len;i++)
        sum += username.charCodeAt(i);
    temp =  parseInt( (5 * sum + 11) / 5 ) % 16;
    regcode[8] = hexchars[temp & 0xF];
 
    result = 0;
    for(i = 0;i < len;i++)
        result = ((result >> 8) & 0xFF) ^ list[username.charCodeAt(i) ^ (result & 0xFF)];
    result = result.toString(16).toUpperCase();
    regcode[2] = result.charAt(0);
    regcode[3] = result.charAt(1);
     
    len = regcode.length;
    result = 0;
    for(i = 2;i < len;i++)
        result = ((result >> 8) & 0xFF) ^ list[regcode[i].toString().charCodeAt(0) ^ (result & 0xFF)];
    result = result.toString(16).toUpperCase();
    regcode[0] = result.charAt(0);
    regcode[1] = result.charAt(1);
 
    document.getElementById("regcode").value = regcode.join("");
}
[/codesyntax]

本文转载自:http://surenpi.com/2016/09/27/editplus_code/

素人派
粉丝 26
博文 1907
码字总数 10223
作品 6
东城
程序员
私信 提问
Download EditPlus Text Editor

突然发现EditPlus还是很强大的,很好用,破解也很方便,有个牛人做了在线生成验证码,只能说服!! 下边把官网的最新下载地址贴出,当然还有在线生成验证码喽。 EditPlus Text Editor下载  ...

dwf07223
2018/06/28
0
0
Editplus 3 使用OpenCTags 1.0.0插件报:Could not find ...

解决办法: 打开注册表编辑器 运行——>regedit 找到分支:HKEYCURRENTUSERSoftWareES-ComputingEditPlus 3 把EditPlus 3 修改为 EditPlus 2 ,对!就是只改个数字,原因请看下面的问题分析。...

LiShixi
2012/06/07
203
0
Java之JDK的下载与安装,java环境变量的配置,Editplus的下载与使用

JRE(Java Runtime Environment Java运行环境) 包括Java虚拟机(JVM Java Virtual Machine)和Java程序所需的核心类库等,如果想要运行一个开发好的Java程序,计算机中只需要安装JRE即可。 JD...

吻泪
2018/07/15
0
0
EditPlus最新汉化绿色版的下载、破解,以及开发java文件时的一些相关设置操作视频

1.EditPlus v4.30.2555 汉化免费绿色版   下载链接:https://pan.baidu.com/s/1jJUJzUm 密码:xlli   注意:解压后点击 EditPlus.exe 后 ,点击文件夹中的 !激活密钥.reg 注册导入注册表...

黑泽明军
2018/02/22
0
0
EditPlus 3.x 配置PHP开发环境

我Windows下的所有文件全是默认使用EditPlus打开的,再比较熟悉PHP以后,使用EditPlus还是比较舒服的,当然也可以通过插件和设置把EditPlus配置为可以动态查看帮助、代码调试和代码自动补全的...

红薯
2011/12/23
3.7K
1

没有更多内容

加载失败,请刷新页面

加载更多

zk中ToBeAppliedRequestProcessor解析

ToBeAppliedRequestProcessor在Leader中 在已处理事务和最后处理事务处理器之间,处理器链上下一个是FinalRequestProcessor public void processRequest(Request request) throws RequestPro...

writeademo
13分钟前
2
0
Allegro快捷键设置-PCB环境

立题简介: 内容:简单介绍Allegro绘制的PCB环境下的快捷键; 来源:实际使用得出; 作用:对Allegro绘制PCB快捷键进行介绍; PCB环境:Cadence 16.6; 立题详解: 对“allegro”板而言,其在...

demyar
15分钟前
2
0
idea maven web项目启动build时报错java.lang.NullPointerException

之前还好好的,重启一下idea就报这个错了,大概率是tomcat没杀掉端口被占用了,在tomcat配置中更换一下sever端口就好了

宇辰OSC
18分钟前
2
0
weed3-2.3.1.查询之输出

Weed3 一个超轻量级ORM框架(只有0.1Mb哦) 源码:https://github.com/noear/weed3 源码:https://gitee.com/noear/weed3 查询可是个复杂的话题了,可能我们80%的数据库处理都在查询。 今天先...

刘之西东
18分钟前
2
0
【Android JetPack系列】数据绑定:DataBinding

参考MVVM

Agnes2017
27分钟前
3
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部