JS混淆加密
-
步骤/方法
-
1.打开 https://jshunxiao.com 网站,粘贴需要加密的js代码
-
2.根据个人需求配置相关设置
-
3.点击加密按钮,即可对js代码进行混淆保护
-
4.还可以加密html,必须要绑定域名
5.例:
/* jshunxiao.com JS混淆加密工具誓死不加入任何后门*/
var __encode = 'jshunxiao.com.v1';var _0xc77e=["","split","0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/","slice","indexOf","","",".","pow","reduce","reverse","0"];function _0xe34c(d,e,f){var g=_0xc77e[2][_0xc77e[1]](_0xc77e[0]);var h=g[_0xc77e[3]](0,e);var i=g[_0xc77e[3]](0,f);var j=d[_0xc77e[1]](_0xc77e[0])[_0xc77e[10]]()[_0xc77e[9]](function(a,b,c){if(h[_0xc77e[4]](b)!==-1)return a+=h[_0xc77e[4]](b)*(Math[_0xc77e[8]](e,c))},0);var k=_0xc77e[0];while(j>0){k=i[j%f]+k;j=(j-(j%f))/f}return k||_0xc77e[11]}eval(function(h,a,c,k,e,r){r="";for(var i=0,len=h.length;i<len;i++){var s="";while(h[i]!==c[e]){s+=h[i];i++}for(var j=0;j<c.length;j++)s=s.replace(new RegExp(c[j],"g"),j);r+=String.fromCharCode(_0xe34c(s,e,10)-k)}return decodeURIComponent(escape(r))}("ZbbeZCEebbCeZZxeZbbeZbEeZCieZbxeZZxebbEeZbieZbxeZCHeZCbeZZieZbbeZbxeZbEebbEeZbCeZbxeZZHeZZieZbEeZCbeZbOeZCOebHOebHOebHOebCxeZbZeZZHeZbCeZZOeZbEeZHCeZbbeZCbeZbxebbEeZCHeZbxeZbOebCxebCCebbbeZHHeZCieZbxeZCHeZZOeZbOeZCOeZbEeZZiebbEeZZxeZZZeZbbeZZieZCOebbCebCxebHieZCieZbbeZZEebHEebHieZZCebHEeibCeHHxeZxbeiCEeZxCeHbxeiCEeZEEeZixeiCEeZxieHbiebHiebbxeZZCebHEebHiebbxeZCieZbbeZZEebHEebCCebCxebbbebHHeZHOe",55,"CbZHiOExe",32,8,4))