代码拉取完成,页面将自动刷新
/* 解码函数 */
function Base() {
_keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
this.decode = function(c) {
var a = "", b, d, h, f, g, e = 0;
for (c = c.replace(/[^A-Za-z0-9\+\/\=]/g, ""); e < c.length; )
b = _keyStr.indexOf(c.charAt(e++)),
d = _keyStr.indexOf(c.charAt(e++)),
f = _keyStr.indexOf(c.charAt(e++)),
g = _keyStr.indexOf(c.charAt(e++)),
b = b << 2 | d >> 4,
d = (d & 15) << 4 | f >> 2,
h = (f & 3) << 6 | g,
a += String.fromCharCode(b),
64 != f && (a += String.fromCharCode(d)),
64 != g && (a += String.fromCharCode(h));
return a = _utf8_decode(a)
}
;
_utf8_decode = function(c) {
for (var a = "", b = 0, d = c1 = c2 = 0; b < c.length; )
d = c.charCodeAt(b),
128 > d ? (a += String.fromCharCode(d),
b++) : 191 < d && 224 > d ? (c2 = c.charCodeAt(b + 1),
a += String.fromCharCode((d & 31) << 6 | c2 & 63),
b += 2) : (c2 = c.charCodeAt(b + 1),
c3 = c.charCodeAt(b + 2),
a += String.fromCharCode((d & 15) << 12 | (c2 & 63) << 6 | c3 & 63),
b += 3);
return a
}
}
/* 主函数*/
function main( con ,nonce) {
var B = new Base();
//加密内容
T = con.split('');
//加密标签
N=nonce;
//加密标签变成数组
N = N.match(/\d+[a-zA-Z]+/g);
//获取加密标签长度
len = N.length;
//对加密标签处理
while (len--) {
locate = parseInt(N[len]) & 255;
str = N[len].replace(/\d+/g, '');
T.splice(locate, str.length)
}
T = T.join('');
_v = B.decode( T );
return _v;
/*
_v = JSON.parse(B.decode(T));
return _v*/
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。