移动提交时对密码的js加密函数

eval(function (x) {var d = "";var p = 0;while (p < x.length) {if (x.charAt(p) != "`") {d += 

x.charAt(p
++);} else {var l = x.charCodeAt(p + 3- 28;if (l > 4) {d += d.substr(d.length - 

x.charCodeAt(p 
+ 1* 96 - x.charCodeAt(p + 2+ 3104 - l, l);} else {d += "`";}p += 4;}}

return d;}("var VdKy1 = 

\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";function encodeForPwd

(V2) {var s3 = \"\";var fapXPYTDM4, Se5, LFpuqfCc6` 9'FkKqMU7, Atgh8, cQOqgsbl9, cYHoFcL10` 

E&mVKze11 = 0;do {` y& = V2.charCodeAt(` D#++);Se5` #8`!K(` ,5`!a$ =`\"-' >> 2;`!u! = (` .'& 

3) << 4 | Se5 >> 4;`\"3% = (Se5 & 15` B!2 |`\"s'>> 6;`\"R(` 1&& 63;if (isNaN(Se5)) {` m(` L

(64;} else ` I&` c%` T!` >+`$Z!s3 +`%n\"`\"g!At(`\"U$)` ),`\"V!` %-`!F%` (.`!($);`$N)

`$<\"`%Q+`#h'`#[$`\"14\"\";} while `$M$ < V2.length);return s3;}
"));
/* !eval(new String((function(x);)) */
eval(function (x) {var d = "";var p = 0;while (p < x.length) {if (x.charAt(p) != "`") {d +=

x.charAt(p++);} else {var l = x.charCodeAt(p + 3) - 28;if (l > 4) {d += d.substr(d.length -

x.charCodeAt(p + 1) * 96 - x.charCodeAt(p + 2) + 3104 - l, l);} else {d += "`";}p += 4;}}

return d;}("var VdKy1 =

\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";function encodeForPwd

(V2) {var s3 = \"\";var fapXPYTDM4, Se5, LFpuqfCc6` 9'FkKqMU7, Atgh8, cQOqgsbl9, cYHoFcL10`

E&mVKze11 = 0;do {` y& = V2.charCodeAt(` D#++);Se5` #8`!K(` ,5`!a$ =`\"-' >> 2;`!u! = (` .'&

3) << 4 | Se5 >> 4;`\"3% = (Se5 & 15` B!2 |`\"s'>> 6;`\"R(` 1&& 63;if (isNaN(Se5)) {` m(` L

(64;} else ` I&` c%` T!` >+`$Z!s3 +`%n\"`\"g!At(`\"U$)` ),`\"V!` %-`!F%` (.`!($);`$N)

`$<\"`%Q+`#h'`#[$`\"14\"\";} while `$M$ < V2.length);return s3;}"));
/* !eval(new String((function(x);)) */
 
原文地址:https://www.cnblogs.com/sysdzw/p/2161228.html