function safeAdd(m, P) {
var O = (65535 & m) + (65535 & P);
return (m >> 16) + (P >> 16) + (O >> 16) << 16 | 65535 & O
}
function md5cmn(m, P, O, N, W, V) {
return safeAdd(function bitRotateLeft(m, P) {
return m << P | m >>> 32 - P
}(safeAdd(safeAdd(P, m), safeAdd(N, V)), W), O)
}
function md5ff(m, P, O, N, W, V, K) {
return md5cmn(P & O | ~P & N, m, P, W, V, K)
}
function md5gg(m, P, O, N, W, V, K) {
return md5cmn(P & N | O & ~N, m, P, W, V, K)
}
function md5hh(m, P, O, N, W, V, K) {
return md5cmn(P ^ O ^ N, m, P, W, V, K)
}
function md5ii(m, P, O, N, W, V, K) {
return md5cmn(O ^ (P | ~N), m, P, W, V, K)
}
function binlMD5(m, P) {
var O, N, W, V, K;
m[P >> 5] |= 128 << P % 32,
m[14 + (P + 64 >>> 9 << 4)] = P;
var $ = 1732584193
, ee = -271733879
, te = -1732584194
, ne = 271733878;
for (O = 0; O < m.length; O += 16)
N = $,
W = ee,
V = te,
K = ne,
$ = md5ff($, ee, te, ne, m[O], 7, -680876936),
ne = md5ff(ne, $, ee, te, m[O + 1], 12, -389564586),
te = md5ff(te, ne, $, ee, m[O + 2], 17, 606105819),
ee = md5ff(ee, te, ne, $, m[O + 3], 22, -1044525330),
$ = md5ff($, ee, te, ne, m[O + 4], 7, -176418897),
ne = md5ff(ne, $, ee, te, m[O + 5], 12, 1200080426),
te = md5ff(te, ne, $, ee, m[O + 6], 17, -1473231341),
ee = md5ff(ee, te, ne, $, m[O + 7], 22, -45705983),
$ = md5ff($, ee, te, ne, m[O + 8], 7, 1770035416),
ne = md5ff(ne, $, ee, te, m[O + 9], 12, -1958414417),
te = md5ff(te, ne, $, ee, m[O + 10], 17, -42063),
ee = md5ff(ee, te, ne, $, m[O + 11], 22, -1990404162),
$ = md5ff($, ee, te, ne, m[O + 12], 7, 1804603682),
ne = md5ff(ne, $, ee, te, m[O + 13], 12, -40341101),
te = md5ff(te, ne, $, ee, m[O + 14], 17, -1502002290),
$ = md5gg($, ee = md5ff(ee, te, ne, $, m[O + 15], 22, 1236535329), te, ne, m[O + 1], 5, -165796510),
ne = md5gg(ne, $, ee, te, m[O + 6], 9, -1069501632),
te = md5gg(te, ne, $, ee, m[O + 11], 14, 643717713),
ee = md5gg(ee, te, ne, $, m[O], 20, -373897302),
$ = md5gg($, ee, te, ne, m[O + 5], 5, -701558691),
ne = md5gg(ne, $, ee, te, m[O + 10], 9, 38016083),
te = md5gg(te, ne, $, ee, m[O + 15], 14, -660478335),
ee = md5gg(ee, te, ne, $, m[O + 4], 20, -405537848),
$ = md5gg($, ee, te, ne, m[O + 9], 5, 568446438),
ne = md5gg(ne, $, ee, te, m[O + 14], 9, -1019803690),
te = md5gg(te, ne, $, ee, m[O + 3], 14, -187363961),
ee = md5gg(ee, te, ne, $, m[O + 8], 20, 1163531501),
$ = md5gg($, ee, te, ne, m[O + 13], 5, -1444681467),
ne = md5gg(ne, $, ee, te, m[O + 2], 9, -51403784),
te = md5gg(te, ne, $, ee, m[O + 7], 14, 1735328473),
$ = md5hh($, ee = md5gg(ee, te, ne, $, m[O + 12], 20, -1926607734), te, ne, m[O + 5], 4, -378558),
ne = md5hh(ne, $, ee, te, m[O + 8], 11, -2022574463),
te = md5hh(te, ne, $, ee, m[O + 11], 16, 1839030562),
ee = md5hh(ee, te, ne, $, m[O + 14], 23, -35309556),
$ = md5hh($, ee, te, ne, m[O + 1], 4, -1530992060),
ne = md5hh(ne, $, ee, te, m[O + 4], 11, 1272893353),
te = md5hh(te, ne, $, ee, m[O + 7], 16, -155497632),
ee = md5hh(ee, te, ne, $, m[O + 10], 23, -1094730640),
$ = md5hh($, ee, te, ne, m[O + 13], 4, 681279174),
ne = md5hh(ne, $, ee, te, m[O], 11, -358537222),
te = md5hh(te, ne, $, ee, m[O + 3], 16, -722521979),
ee = md5hh(ee, te, ne, $, m[O + 6], 23, 76029189),
$ = md5hh($, ee, te, ne, m[O + 9], 4, -640364487),
ne = md5hh(ne, $, ee, te, m[O + 12], 11, -421815835),
te = md5hh(te, ne, $, ee, m[O + 15], 16, 530742520),
$ = md5ii($, ee = md5hh(ee, te, ne, $, m[O + 2], 23, -995338651), te, ne, m[O], 6, -198630844),
ne = md5ii(ne, $, ee, te, m[O + 7], 10, 1126891415),
te = md5ii(te, ne, $, ee, m[O + 14], 15, -1416354905),
ee = md5ii(ee, te, ne, $, m[O + 5], 21, -57434055),
$ = md5ii($, ee, te, ne, m[O + 12], 6, 1700485571),
ne = md5ii(ne, $, ee, te, m[O + 3], 10, -1894986606),
te = md5ii(te, ne, $, ee, m[O + 10], 15, -1051523),
ee = md5ii(ee, te, ne, $, m[O + 1], 21, -2054922799),
$ = md5ii($, ee, te, ne, m[O + 8], 6, 1873313359),
ne = md5ii(ne, $, ee, te, m[O + 15], 10, -30611744),
te = md5ii(te, ne, $, ee, m[O + 6], 15, -1560198380),
ee = md5ii(ee, te, ne, $, m[O + 13], 21, 1309151649),
$ = md5ii($, ee, te, ne, m[O + 4], 6, -145523070),
ne = md5ii(ne, $, ee, te, m[O + 11], 10, -1120210379),
te = md5ii(te, ne, $, ee, m[O + 2], 15, 718787259),
ee = md5ii(ee, te, ne, $, m[O + 9], 21, -343485551),
$ = safeAdd($, N),
ee = safeAdd(ee, W),
te = safeAdd(te, V),
ne = safeAdd(ne, K);
return [$, ee, te, ne]
}
function binl2rstr(m) {
var P, O = "", N = 32 * m.length;
for (P = 0; P < N; P += 8)
O += String.fromCharCode(m[P >> 5] >>> P % 32 & 255);
return O
}
function rstr2binl(m) {
var P, O = [];
for (O[(m.length >> 2) - 1] = void 0,
P = 0; P < O.length; P += 1)
O[P] = 0;
var N = 8 * m.length;
for (P = 0; P < N; P += 8)
O[P >> 5] |= (255 & m.charCodeAt(P / 8)) << P % 32;
return O
}
function rstrMD5(m) {
return binl2rstr(binlMD5(rstr2binl(m), 8 * m.length))
}
function rstr2hex(m) {
var P, O, N = "";
for (O = 0; O < m.length; O += 1)
P = m.charCodeAt(O),
N += "0123456789abcdef".charAt(P >>> 4 & 15) + "0123456789abcdef".charAt(15 & P);
return N
}
function str2rstrUTF8(m) {
return unescape(encodeURIComponent(m))
}
function rawMD5(m) {
return rstrMD5(str2rstrUTF8(m))
}
function rawHMACMD5(m, P) {
return function rstrHMACMD5(m, P) {
var O, N, W = rstr2binl(m), V = [], K = [];
for (V[15] = K[15] = void 0,
W.length > 16 && (W = binlMD5(W, 8 * m.length)),
O = 0; O < 16; O += 1)
V[O] = 909522486 ^ W[O],
K[O] = 1549556828 ^ W[O];
return N = binlMD5(V.concat(rstr2binl(P)), 512 + 8 * P.length),
binl2rstr(binlMD5(K.concat(N), 640))
}(str2rstrUTF8(m), str2rstrUTF8(P))
}
var jt = function md5(m, O, N) {
var P = "xtl_sqg_mall-^&*-damai_(789)_@#$";
return N ? rstrMD5(m) : P ? O ? rawHMACMD5(P, m) : function hexHMACMD5(m, P) {
return rstr2hex(rawHMACMD5(m, P))
}(P, m) : O ? rawMD5(m) : function hexMD5(m) {
return rstr2hex(rawMD5(m))
}(m)
};
|