zoukankan      html  css  js  c++  java
  • 移动提交时对密码的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);)) */
     
  • 相关阅读:
    POJ3094 UVALive3594 HDU2734 ZOJ2812 Quicksum【进制】
    UVALive5583 UVA562 Dividing coins
    POJ1979 HDU1312 Red and Black【DFS】
    POJ1979 HDU1312 Red and Black【DFS】
    POJ2386 Lake Counting【DFS】
    POJ2386 Lake Counting【DFS】
    HDU4394 Digital Square
    HDU4394 Digital Square
    UVA213 UVALive5152 Message Decoding
    UVA213 UVALive5152 Message Decoding
  • 原文地址:https://www.cnblogs.com/sysdzw/p/2161228.html
Copyright © 2011-2022 走看看