[JavaScript] 纯文本查看 复制代码
var r = r || function (t, e) {
var n = {}
, r = n.lib = {}
, o = function () { }
, i = r.Base = {
extend: function (t) {
o.prototype = this;
var e = new o;
return t && e.mixIn(t),
e.hasOwnProperty("init") || (e.init = function () {
e.$super.init.apply(this, arguments)
}
),
e.init.prototype = e,
e.$super = this,
e
},
create: function () {
var t = this.extend();
return t.init.apply(t, arguments),
t
},
init: function () { },
mixIn: function (t) {
for (var e in t)
t.hasOwnProperty(e) && (this[e] = t[e]);
t.hasOwnProperty("toString") && (this.toString = t.toString)
},
clone: function () {
return this.init.prototype.extend(this)
}
}
, a = r.WordArray = i.extend({
init: function (t, e) {
t = this.words = t || [],
this.sigBytes = void 0 != e ? e : 4 * t.length
},
toString: function (t) {
return (t || c).stringify(this)
},
concat: function (t) {
var e = this.words
, n = t.words
, r = this.sigBytes;
if (t = t.sigBytes,
this.clamp(),
r % 4)
for (var o = 0; o < t; o++)
e[r + o >>> 2] |= (n[o >>> 2] >>> 24 - o % 4 * 8 & 255) << 24 - (r + o) % 4 * 8;
else if (65535 < n.length)
for (o = 0; o < t; o += 4)
e[r + o >>> 2] = n[o >>> 2];
else
e.push.apply(e, n);
return this.sigBytes += t,
this
},
clamp: function () {
var e = this.words
, n = this.sigBytes;
e[n >>> 2] &= 4294967295 << 32 - n % 4 * 8,
e.length = t.ceil(n / 4)
},
clone: function () {
var t = i.clone.call(this);
return t.words = this.words.slice(0),
t
},
random: function (e) {
for (var n = [], r = 0; r < e; r += 4)
n.push(4294967296 * t.random() | 0);
return new a.init(n, e)
}
})
, s = n.enc = {}
, c = s.Hex = {
stringify: function (t) {
var e = t.words;
t = t.sigBytes;
for (var n = [], r = 0; r < t; r++) {
var o = e[r >>> 2] >>> 24 - r % 4 * 8 & 255;
n.push((o >>> 4).toString(16)),
n.push((15 & o).toString(16))
}
return n.join("")
},
parse: function (t) {
for (var e = t.length, n = [], r = 0; r < e; r += 2)
n[r >>> 3] |= parseInt(t.substr(r, 2), 16) << 24 - r % 8 * 4;
return new a.init(n, e / 2)
}
}
, u = s.Latin1 = {
stringify: function (t) {
var e = t.words;
t = t.sigBytes;
for (var n = [], r = 0; r < t; r++)
n.push(String.fromCharCode(e[r >>> 2] >>> 24 - r % 4 * 8 & 255));
return n.join("")
},
parse: function (t) {
for (var e = t.length, n = [], r = 0; r < e; r++)
n[r >>> 2] |= (255 & t.charCodeAt(r)) << 24 - r % 4 * 8;
return new a.init(n, e)
}
}
, f = s.Utf8 = {
stringify: function (t) {
try {
return decodeURIComponent(escape(u.stringify(t)))
} catch (t) {
throw Error("Malformed UTF-8 data")
}
},
parse: function (t) {
return u.parse(unescape(encodeURIComponent(t)))
}
}
, l = r.BufferedBlockAlgorithm = i.extend({
reset: function () {
this._data = new a.init,
this._nDataBytes = 0
},
_append: function (t) {
"string" == typeof t && (t = f.parse(t)),
this._data.concat(t),
this._nDataBytes += t.sigBytes
},
_process: function (e) {
var n = this._data
, r = n.words
, o = n.sigBytes
, i = this.blockSize
, s = o / (4 * i)
, s = e ? t.ceil(s) : t.max((0 | s) - this._minBufferSize, 0);
if (e = s * i,
o = t.min(4 * e, o),
e) {
for (var c = 0; c < e; c += i)
this._doProcessBlock(r, c);
c = r.splice(0, e),
n.sigBytes -= o
}
return new a.init(c, o)
},
clone: function () {
var t = i.clone.call(this);
return t._data = this._data.clone(),
t
},
_minBufferSize: 0
});
r.Hasher = l.extend({
cfg: i.extend(),
init: function (t) {
this.cfg = this.cfg.extend(t),
this.reset()
},
reset: function () {
l.reset.call(this),
this._doReset()
},
update: function (t) {
return this._append(t),
this._process(),
this
},
finalize: function (t) {
return t && this._append(t),
this._doFinalize()
},
blockSize: 16,
_createHelper: function (t) {
return function (e, n) {
return new t.init(n).finalize(e)
}
},
_createHmacHelper: function (t) {
return function (e, n) {
return new p.HMAC.init(t, n).finalize(e)
}
}
});
var p = n.algo = {};
return n
}(Math);
!function () {
var t = r
, e = t.lib.WordArray;
t.enc.Base64 = {
stringify: function (t) {
var e = t.words
, n = t.sigBytes
, r = this._map;
t.clamp(),
t = [];
for (var o = 0; o < n; o += 3)
for (var i = (e[o >>> 2] >>> 24 - o % 4 * 8 & 255) << 16 | (e[o + 1 >>> 2] >>> 24 - (o + 1) % 4 * 8 & 255) << 8 | e[o + 2 >>> 2] >>> 24 - (o + 2) % 4 * 8 & 255, a = 0; 4 > a && o + .75 * a < n; a++)
t.push(r.charAt(i >>> 6 * (3 - a) & 63));
if (e = r.charAt(64))
for (; t.length % 4;)
t.push(e);
return t.join("")
},
parse: function (t) {
var n = t.length
, r = this._map
, o = r.charAt(64);
o && -1 != (o = t.indexOf(o)) && (n = o);
for (var o = [], i = 0, a = 0; a < n; a++)
if (a % 4) {
var s = r.indexOf(t.charAt(a - 1)) << a % 4 * 2
, c = r.indexOf(t.charAt(a)) >>> 6 - a % 4 * 2;
o[i >>> 2] |= (s | c) << 24 - i % 4 * 8,
i++
}
return e.create(o, i)
},
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
}
}(),
function (t) {
function e(t, e, n, r, o, i, a) {
return ((t = t + (e & n | ~e & r) + o + a) << i | t >>> 32 - i) + e
}
function n(t, e, n, r, o, i, a) {
return ((t = t + (e & r | n & ~r) + o + a) << i | t >>> 32 - i) + e
}
function o(t, e, n, r, o, i, a) {
return ((t = t + (e ^ n ^ r) + o + a) << i | t >>> 32 - i) + e
}
function i(t, e, n, r, o, i, a) {
return ((t = t + (n ^ (e | ~r)) + o + a) << i | t >>> 32 - i) + e
}
for (var a = r, s = a.lib, c = s.WordArray, u = s.Hasher, s = a.algo, f = [], l = 0; 64 > l; l++)
f[l] = 4294967296 * t.abs(t.sin(l + 1)) | 0;
s = s.MD5 = u.extend({
_doReset: function () {
this._hash = new c.init([1732584193, 4023233417, 2562383102, 271733878])
},
_doProcessBlock: function (t, r) {
for (var a = 0; 16 > a; a++) {
var s = r + a
, c = t[s];
t[s] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8)
}
var a = this._hash.words
, s = t[r + 0]
, c = t[r + 1]
, u = t[r + 2]
, l = t[r + 3]
, p = t[r + 4]
, d = t[r + 5]
, h = t[r + 6]
, v = t[r + 7]
, y = t[r + 8]
, m = t[r + 9]
, g = t[r + 10]
, b = t[r + 11]
, _ = t[r + 12]
, x = t[r + 13]
, w = t[r + 14]
, k = t[r + 15]
, O = a[0]
, j = a[1]
, C = a[2]
, A = a[3]
, O = e(O, j, C, A, s, 7, f[0])
, A = e(A, O, j, C, c, 12, f[1])
, C = e(C, A, O, j, u, 17, f[2])
, j = e(j, C, A, O, l, 22, f[3])
, O = e(O, j, C, A, p, 7, f[4])
, A = e(A, O, j, C, d, 12, f[5])
, C = e(C, A, O, j, h, 17, f[6])
, j = e(j, C, A, O, v, 22, f[7])
, O = e(O, j, C, A, y, 7, f[8])
, A = e(A, O, j, C, m, 12, f[9])
, C = e(C, A, O, j, g, 17, f[10])
, j = e(j, C, A, O, b, 22, f[11])
, O = e(O, j, C, A, _, 7, f[12])
, A = e(A, O, j, C, x, 12, f[13])
, C = e(C, A, O, j, w, 17, f[14])
, j = e(j, C, A, O, k, 22, f[15])
, O = n(O, j, C, A, c, 5, f[16])
, A = n(A, O, j, C, h, 9, f[17])
, C = n(C, A, O, j, b, 14, f[18])
, j = n(j, C, A, O, s, 20, f[19])
, O = n(O, j, C, A, d, 5, f[20])
, A = n(A, O, j, C, g, 9, f[21])
, C = n(C, A, O, j, k, 14, f[22])
, j = n(j, C, A, O, p, 20, f[23])
, O = n(O, j, C, A, m, 5, f[24])
, A = n(A, O, j, C, w, 9, f[25])
, C = n(C, A, O, j, l, 14, f[26])
, j = n(j, C, A, O, y, 20, f[27])
, O = n(O, j, C, A, x, 5, f[28])
, A = n(A, O, j, C, u, 9, f[29])
, C = n(C, A, O, j, v, 14, f[30])
, j = n(j, C, A, O, _, 20, f[31])
, O = o(O, j, C, A, d, 4, f[32])
, A = o(A, O, j, C, y, 11, f[33])
, C = o(C, A, O, j, b, 16, f[34])
, j = o(j, C, A, O, w, 23, f[35])
, O = o(O, j, C, A, c, 4, f[36])
, A = o(A, O, j, C, p, 11, f[37])
, C = o(C, A, O, j, v, 16, f[38])
, j = o(j, C, A, O, g, 23, f[39])
, O = o(O, j, C, A, x, 4, f[40])
, A = o(A, O, j, C, s, 11, f[41])
, C = o(C, A, O, j, l, 16, f[42])
, j = o(j, C, A, O, h, 23, f[43])
, O = o(O, j, C, A, m, 4, f[44])
, A = o(A, O, j, C, _, 11, f[45])
, C = o(C, A, O, j, k, 16, f[46])
, j = o(j, C, A, O, u, 23, f[47])
, O = i(O, j, C, A, s, 6, f[48])
, A = i(A, O, j, C, v, 10, f[49])
, C = i(C, A, O, j, w, 15, f[50])
, j = i(j, C, A, O, d, 21, f[51])
, O = i(O, j, C, A, _, 6, f[52])
, A = i(A, O, j, C, l, 10, f[53])
, C = i(C, A, O, j, g, 15, f[54])
, j = i(j, C, A, O, c, 21, f[55])
, O = i(O, j, C, A, y, 6, f[56])
, A = i(A, O, j, C, k, 10, f[57])
, C = i(C, A, O, j, h, 15, f[58])
, j = i(j, C, A, O, x, 21, f[59])
, O = i(O, j, C, A, p, 6, f[60])
, A = i(A, O, j, C, b, 10, f[61])
, C = i(C, A, O, j, u, 15, f[62])
, j = i(j, C, A, O, m, 21, f[63]);
a[0] = a[0] + O | 0,
a[1] = a[1] + j | 0,
a[2] = a[2] + C | 0,
a[3] = a[3] + A | 0
},
_doFinalize: function () {
var e = this._data
, n = e.words
, r = 8 * this._nDataBytes
, o = 8 * e.sigBytes;
n[o >>> 5] |= 128 << 24 - o % 32;
var i = t.floor(r / 4294967296);
for (n[15 + (o + 64 >>> 9 << 4)] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8),
n[14 + (o + 64 >>> 9 << 4)] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8),
e.sigBytes = 4 * (n.length + 1),
this._process(),
e = this._hash,
n = e.words,
r = 0; 4 > r; r++)
o = n[r],
n[r] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8);
return e
},
clone: function () {
var t = u.clone.call(this);
return t._hash = this._hash.clone(),
t
}
}),
a.MD5 = u._createHelper(s),
a.HmacMD5 = u._createHmacHelper(s)
}(Math),
function () {
var t = r
, e = t.lib
, n = e.Base
, o = e.WordArray
, e = t.algo
, i = e.EvpKDF = n.extend({
cfg: n.extend({
keySize: 4,
hasher: e.MD5,
iterations: 1
}),
init: function (t) {
this.cfg = this.cfg.extend(t)
},
compute: function (t, e) {
for (var n = this.cfg, r = n.hasher.create(), i = o.create(), a = i.words, s = n.keySize, n = n.iterations; a.length < s;) {
c && r.update(c);
var c = r.update(t).finalize(e);
r.reset();
for (var u = 1; u < n; u++)
c = r.finalize(c),
r.reset();
i.concat(c)
}
return i.sigBytes = 4 * s,
i
}
});
t.EvpKDF = function (t, e, n) {
return i.create(n).compute(t, e)
}
}(),
r.lib.Cipher || function (t) {
var e = r
, n = e.lib
, o = n.Base
, i = n.WordArray
, a = n.BufferedBlockAlgorithm
, s = e.enc.Base64
, c = e.algo.EvpKDF
, u = n.Cipher = a.extend({
cfg: o.extend(),
createEncryptor: function (t, e) {
return this.create(this._ENC_XFORM_MODE, t, e)
},
createDecryptor: function (t, e) {
return this.create(this._DEC_XFORM_MODE, t, e)
},
init: function (t, e, n) {
this.cfg = this.cfg.extend(n),
this._xformMode = t,
this._key = e,
this.reset()
},
reset: function () {
a.reset.call(this),
this._doReset()
},
process: function (t) {
return this._append(t),
this._process()
},
finalize: function (t) {
return t && this._append(t),
this._doFinalize()
},
keySize: 4,
ivSize: 4,
_ENC_XFORM_MODE: 1,
_DEC_XFORM_MODE: 2,
_createHelper: function (t) {
return {
encrypt: function (e, n, r) {
return ("string" == typeof n ? v : h).encrypt(t, e, n, r)
},
decrypt: function (e, n, r) {
return ("string" == typeof n ? v : h).decrypt(t, e, n, r)
}
}
}
});
n.StreamCipher = u.extend({
_doFinalize: function () {
return this._process(!0)
},
blockSize: 1
});
var f = e.mode = {}
, l = function (t, e, n) {
var r = this._iv;
r ? this._iv = void 0 : r = this._prevBlock;
for (var o = 0; o < n; o++)
t[e + o] ^= r[o]
}
, p = (n.BlockCipherMode = o.extend({
createEncryptor: function (t, e) {
return this.Encryptor.create(t, e)
},
createDecryptor: function (t, e) {
return this.Decryptor.create(t, e)
},
init: function (t, e) {
this._cipher = t,
this._iv = e
}
})).extend();
p.Encryptor = p.extend({
processBlock: function (t, e) {
var n = this._cipher
, r = n.blockSize;
l.call(this, t, e, r),
n.encryptBlock(t, e),
this._prevBlock = t.slice(e, e + r)
}
}),
p.Decryptor = p.extend({
processBlock: function (t, e) {
var n = this._cipher
, r = n.blockSize
, o = t.slice(e, e + r);
n.decryptBlock(t, e),
l.call(this, t, e, r),
this._prevBlock = o
}
}),
f = f.CBC = p,
p = (e.pad = {}).Pkcs7 = {
pad: function (t, e) {
for (var n = 4 * e, n = n - t.sigBytes % n, r = n << 24 | n << 16 | n << 8 | n, o = [], a = 0; a < n; a += 4)
o.push(r);
n = i.create(o, n),
t.concat(n)
},
unpad: function (t) {
t.sigBytes -= 255 & t.words[t.sigBytes - 1 >>> 2]
}
},
n.BlockCipher = u.extend({
cfg: u.cfg.extend({
mode: f,
padding: p
}),
reset: function () {
u.reset.call(this);
var t = this.cfg
, e = t.iv
, t = t.mode;
if (this._xformMode == this._ENC_XFORM_MODE)
var n = t.createEncryptor;
else
n = t.createDecryptor,
this._minBufferSize = 1;
this._mode = n.call(t, this, e && e.words)
},
_doProcessBlock: function (t, e) {
this._mode.processBlock(t, e)
},
_doFinalize: function () {
var t = this.cfg.padding;
if (this._xformMode == this._ENC_XFORM_MODE) {
t.pad(this._data, this.blockSize);
var e = this._process(!0)
} else
e = this._process(!0),
t.unpad(e);
return e
},
blockSize: 4
});
var d = n.CipherParams = o.extend({
init: function (t) {
this.mixIn(t)
},
toString: function (t) {
return (t || this.formatter).stringify(this)
}
})
, f = (e.format = {}).OpenSSL = {
stringify: function (t) {
var e = t.ciphertext;
return t = t.salt,
(t ? i.create([1398893684, 1701076831]).concat(t).concat(e) : e).toString(s)
},
parse: function (t) {
t = s.parse(t);
var e = t.words;
if (1398893684 == e[0] && 1701076831 == e[1]) {
var n = i.create(e.slice(2, 4));
e.splice(0, 4),
t.sigBytes -= 16
}
return d.create({
ciphertext: t,
salt: n
})
}
}
, h = n.SerializableCipher = o.extend({
cfg: o.extend({
format: f
}),
encrypt: function (t, e, n, r) {
r = this.cfg.extend(r);
var o = t.createEncryptor(n, r);
return e = o.finalize(e),
o = o.cfg,
d.create({
ciphertext: e,
key: n,
iv: o.iv,
algorithm: t,
mode: o.mode,
padding: o.padding,
blockSize: t.blockSize,
formatter: r.format
})
},
decrypt: function (t, e, n, r) {
return r = this.cfg.extend(r),
e = this._parse(e, r.format),
t.createDecryptor(n, r).finalize(e.ciphertext)
},
_parse: function (t, e) {
return "string" == typeof t ? e.parse(t, this) : t
}
})
, e = (e.kdf = {}).OpenSSL = {
execute: function (t, e, n, r) {
return r || (r = i.random(8)),
t = c.create({
keySize: e + n
}).compute(t, r),
n = i.create(t.words.slice(e), 4 * n),
t.sigBytes = 4 * e,
d.create({
key: t,
iv: n,
salt: r
})
}
}
, v = n.PasswordBasedCipher = h.extend({
cfg: h.cfg.extend({
kdf: e
}),
encrypt: function (t, e, n, r) {
return r = this.cfg.extend(r),
n = r.kdf.execute(n, t.keySize, t.ivSize),
r.iv = n.iv,
t = h.encrypt.call(this, t, e, n.key, r),
t.mixIn(n),
t
},
decrypt: function (t, e, n, r) {
return r = this.cfg.extend(r),
e = this._parse(e, r.format),
n = r.kdf.execute(n, t.keySize, t.ivSize, e.salt),
r.iv = n.iv,
h.decrypt.call(this, t, e, n.key, r)
}
})
}(),
function () {
function t(t, e) {
var n = (this._lBlock >>> t ^ this._rBlock) & e;
this._rBlock ^= n,
this._lBlock ^= n << t
}
function e(t, e) {
var n = (this._rBlock >>> t ^ this._lBlock) & e;
this._lBlock ^= n,
this._rBlock ^= n << t
}
var n = r
, o = n.lib
, i = o.WordArray
, o = o.BlockCipher
, a = n.algo
, s = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4]
, c = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32]
, u = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28]
, f = [{
0: 8421888,
268435456: 32768,
536870912: 8421378,
805306368: 2,
1073741824: 512,
1342177280: 8421890,
1610612736: 8389122,
1879048192: 8388608,
2147483648: 514,
2415919104: 8389120,
2684354560: 33280,
2952790016: 8421376,
3221225472: 32770,
3489660928: 8388610,
3758096384: 0,
4026531840: 33282,
134217728: 0,
402653184: 8421890,
671088640: 33282,
939524096: 32768,
1207959552: 8421888,
1476395008: 512,
1744830464: 8421378,
2013265920: 2,
2281701376: 8389120,
2550136832: 33280,
2818572288: 8421376,
3087007744: 8389122,
3355443200: 8388610,
3623878656: 32770,
3892314112: 514,
4160749568: 8388608,
1: 32768,
268435457: 2,
536870913: 8421888,
805306369: 8388608,
1073741825: 8421378,
1342177281: 33280,
1610612737: 512,
1879048193: 8389122,
2147483649: 8421890,
2415919105: 8421376,
2684354561: 8388610,
2952790017: 33282,
3221225473: 514,
3489660929: 8389120,
3758096385: 32770,
4026531841: 0,
134217729: 8421890,
402653185: 8421376,
671088641: 8388608,
939524097: 512,
1207959553: 32768,
1476395009: 8388610,
1744830465: 2,
2013265921: 33282,
2281701377: 32770,
2550136833: 8389122,
2818572289: 514,
3087007745: 8421888,
3355443201: 8389120,
3623878657: 0,
3892314113: 33280,
4160749569: 8421378
}, {
0: 1074282512,
16777216: 16384,
33554432: 524288,
50331648: 1074266128,
67108864: 1073741840,
83886080: 1074282496,
100663296: 1073758208,
117440512: 16,
134217728: 540672,
150994944: 1073758224,
167772160: 1073741824,
184549376: 540688,
201326592: 524304,
218103808: 0,
234881024: 16400,
251658240: 1074266112,
8388608: 1073758208,
25165824: 540688,
41943040: 16,
58720256: 1073758224,
75497472: 1074282512,
92274688: 1073741824,
109051904: 524288,
125829120: 1074266128,
142606336: 524304,
159383552: 0,
176160768: 16384,
192937984: 1074266112,
209715200: 1073741840,
226492416: 540672,
243269632: 1074282496,
260046848: 16400,
268435456: 0,
285212672: 1074266128,
301989888: 1073758224,
318767104: 1074282496,
335544320: 1074266112,
352321536: 16,
369098752: 540688,
385875968: 16384,
402653184: 16400,
419430400: 524288,
436207616: 524304,
452984832: 1073741840,
469762048: 540672,
486539264: 1073758208,
503316480: 1073741824,
520093696: 1074282512,
276824064: 540688,
293601280: 524288,
310378496: 1074266112,
327155712: 16384,
343932928: 1073758208,
360710144: 1074282512,
377487360: 16,
394264576: 1073741824,
411041792: 1074282496,
427819008: 1073741840,
444596224: 1073758224,
461373440: 524304,
478150656: 0,
494927872: 16400,
511705088: 1074266128,
528482304: 540672
}, {
0: 260,
1048576: 0,
2097152: 67109120,
3145728: 65796,
4194304: 65540,
5242880: 67108868,
6291456: 67174660,
7340032: 67174400,
8388608: 67108864,
9437184: 67174656,
10485760: 65792,
11534336: 67174404,
12582912: 67109124,
13631488: 65536,
14680064: 4,
15728640: 256,
524288: 67174656,
1572864: 67174404,
2621440: 0,
3670016: 67109120,
4718592: 67108868,
5767168: 65536,
6815744: 65540,
7864320: 260,
8912896: 4,
9961472: 256,
11010048: 67174400,
12058624: 65796,
13107200: 65792,
14155776: 67109124,
15204352: 67174660,
16252928: 67108864,
16777216: 67174656,
17825792: 65540,
18874368: 65536,
19922944: 67109120,
20971520: 256,
22020096: 67174660,
23068672: 67108868,
24117248: 0,
25165824: 67109124,
26214400: 67108864,
27262976: 4,
28311552: 65792,
29360128: 67174400,
30408704: 260,
31457280: 65796,
32505856: 67174404,
17301504: 67108864,
18350080: 260,
19398656: 67174656,
20447232: 0,
21495808: 65540,
22544384: 67109120,
23592960: 256,
24641536: 67174404,
25690112: 65536,
26738688: 67174660,
27787264: 65796,
28835840: 67108868,
29884416: 67109124,
30932992: 67174400,
31981568: 4,
33030144: 65792
}, {
0: 2151682048,
65536: 2147487808,
131072: 4198464,
196608: 2151677952,
262144: 0,
327680: 4198400,
393216: 2147483712,
458752: 4194368,
524288: 2147483648,
589824: 4194304,
655360: 64,
720896: 2147487744,
786432: 2151678016,
851968: 4160,
917504: 4096,
983040: 2151682112,
32768: 2147487808,
98304: 64,
163840: 2151678016,
229376: 2147487744,
294912: 4198400,
360448: 2151682112,
425984: 0,
491520: 2151677952,
557056: 4096,
622592: 2151682048,
688128: 4194304,
753664: 4160,
819200: 2147483648,
884736: 4194368,
950272: 4198464,
1015808: 2147483712,
1048576: 4194368,
1114112: 4198400,
1179648: 2147483712,
1245184: 0,
1310720: 4160,
1376256: 2151678016,
1441792: 2151682048,
1507328: 2147487808,
1572864: 2151682112,
1638400: 2147483648,
1703936: 2151677952,
1769472: 4198464,
1835008: 2147487744,
1900544: 4194304,
1966080: 64,
2031616: 4096,
1081344: 2151677952,
1146880: 2151682112,
1212416: 0,
1277952: 4198400,
1343488: 4194368,
1409024: 2147483648,
1474560: 2147487808,
1540096: 64,
1605632: 2147483712,
1671168: 4096,
1736704: 2147487744,
1802240: 2151678016,
1867776: 4160,
1933312: 2151682048,
1998848: 4194304,
2064384: 4198464
}, {
0: 128,
4096: 17039360,
8192: 262144,
12288: 536870912,
16384: 537133184,
20480: 16777344,
24576: 553648256,
28672: 262272,
32768: 16777216,
36864: 537133056,
40960: 536871040,
45056: 553910400,
49152: 553910272,
53248: 0,
57344: 17039488,
61440: 553648128,
2048: 17039488,
6144: 553648256,
10240: 128,
14336: 17039360,
18432: 262144,
22528: 537133184,
26624: 553910272,
30720: 536870912,
34816: 537133056,
38912: 0,
43008: 553910400,
47104: 16777344,
51200: 536871040,
55296: 553648128,
59392: 16777216,
63488: 262272,
65536: 262144,
69632: 128,
73728: 536870912,
77824: 553648256,
81920: 16777344,
86016: 553910272,
90112: 537133184,
94208: 16777216,
98304: 553910400,
102400: 553648128,
106496: 17039360,
110592: 537133056,
114688: 262272,
118784: 536871040,
122880: 0,
126976: 17039488,
67584: 553648256,
71680: 16777216,
75776: 17039360,
79872: 537133184,
83968: 536870912,
88064: 17039488,
92160: 128,
96256: 553910272,
100352: 262272,
104448: 553910400,
108544: 0,
112640: 553648128,
116736: 16777344,
120832: 262144,
124928: 537133056,
129024: 536871040
}, {
0: 268435464,
256: 8192,
512: 270532608,
768: 270540808,
1024: 268443648,
1280: 2097152,
1536: 2097160,
1792: 268435456,
2048: 0,
2304: 268443656,
2560: 2105344,
2816: 8,
3072: 270532616,
3328: 2105352,
3584: 8200,
3840: 270540800,
128: 270532608,
384: 270540808,
640: 8,
896: 2097152,
1152: 2105352,
1408: 268435464,
1664: 268443648,
1920: 8200,
2176: 2097160,
2432: 8192,
2688: 268443656,
2944: 270532616,
3200: 0,
3456: 270540800,
3712: 2105344,
3968: 268435456,
4096: 268443648,
4352: 270532616,
4608: 270540808,
4864: 8200,
5120: 2097152,
5376: 268435456,
5632: 268435464,
5888: 2105344,
6144: 2105352,
6400: 0,
6656: 8,
6912: 270532608,
7168: 8192,
7424: 268443656,
7680: 270540800,
7936: 2097160,
4224: 8,
4480: 2105344,
4736: 2097152,
4992: 268435464,
5248: 268443648,
5504: 8200,
5760: 270540808,
6016: 270532608,
6272: 270540800,
6528: 270532616,
6784: 8192,
7040: 2105352,
7296: 2097160,
7552: 0,
7808: 268435456,
8064: 268443656
}, {
0: 1048576,
16: 33555457,
32: 1024,
48: 1049601,
64: 34604033,
80: 0,
96: 1,
112: 34603009,
128: 33555456,
144: 1048577,
160: 33554433,
176: 34604032,
192: 34603008,
208: 1025,
224: 1049600,
240: 33554432,
8: 34603009,
24: 0,
40: 33555457,
56: 34604032,
72: 1048576,
88: 33554433,
104: 33554432,
120: 1025,
136: 1049601,
152: 33555456,
168: 34603008,
184: 1048577,
200: 1024,
216: 34604033,
232: 1,
248: 1049600,
256: 33554432,
272: 1048576,
288: 33555457,
304: 34603009,
320: 1048577,
336: 33555456,
352: 34604032,
368: 1049601,
384: 1025,
400: 34604033,
416: 1049600,
432: 1,
448: 0,
464: 34603008,
480: 33554433,
496: 1024,
264: 1049600,
280: 33555457,
296: 34603009,
312: 1,
328: 33554432,
344: 1048576,
360: 1025,
376: 34604032,
392: 33554433,
408: 34603008,
424: 0,
440: 34604033,
456: 1049601,
472: 1024,
488: 33555456,
504: 1048577
}, {
0: 134219808,
1: 131072,
2: 134217728,
3: 32,
4: 131104,
5: 134350880,
6: 134350848,
7: 2048,
8: 134348800,
9: 134219776,
10: 133120,
11: 134348832,
12: 2080,
13: 0,
14: 134217760,
15: 133152,
2147483648: 2048,
2147483649: 134350880,
2147483650: 134219808,
2147483651: 134217728,
2147483652: 134348800,
2147483653: 133120,
2147483654: 133152,
2147483655: 32,
2147483656: 134217760,
2147483657: 2080,
2147483658: 131104,
2147483659: 134350848,
2147483660: 0,
2147483661: 134348832,
2147483662: 134219776,
2147483663: 131072,
16: 133152,
17: 134350848,
18: 32,
19: 2048,
20: 134219776,
21: 134217760,
22: 134348832,
23: 131072,
24: 0,
25: 131104,
26: 134348800,
27: 134219808,
28: 134350880,
29: 133120,
30: 2080,
31: 134217728,
2147483664: 131072,
2147483665: 2048,
2147483666: 134348832,
2147483667: 133152,
2147483668: 32,
2147483669: 134348800,
2147483670: 134217728,
2147483671: 134219808,
2147483672: 134350880,
2147483673: 134217760,
2147483674: 134219776,
2147483675: 0,
2147483676: 133120,
2147483677: 2080,
2147483678: 131104,
2147483679: 134350848
}]
, l = [4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679]
, p = a.DES = o.extend({
_doReset: function () {
for (var t = this._key.words, e = [], n = 0; 56 > n; n++) {
var r = s[n] - 1;
e[n] = t[r >>> 5] >>> 31 - r % 32 & 1
}
for (t = this._subKeys = [],
r = 0; 16 > r; r++) {
for (var o = t[r] = [], i = u[r], n = 0; 24 > n; n++)
o[n / 6 | 0] |= e[(c[n] - 1 + i) % 28] << 31 - n % 6,
o[4 + (n / 6 | 0)] |= e[28 + (c[n + 24] - 1 + i) % 28] << 31 - n % 6;
for (o[0] = o[0] << 1 | o[0] >>> 31,
n = 1; 7 > n; n++)
o[n] >>>= 4 * (n - 1) + 3;
o[7] = o[7] << 5 | o[7] >>> 27
}
for (e = this._invSubKeys = [],
n = 0; 16 > n; n++)
e[n] = t[15 - n]
},
encryptBlock: function (t, e) {
this._doCryptBlock(t, e, this._subKeys)
},
decryptBlock: function (t, e) {
this._doCryptBlock(t, e, this._invSubKeys)
},
_doCryptBlock: function (n, r, o) {
this._lBlock = n[r],
this._rBlock = n[r + 1],
t.call(this, 4, 252645135),
t.call(this, 16, 65535),
e.call(this, 2, 858993459),
e.call(this, 8, 16711935),
t.call(this, 1, 1431655765);
for (var i = 0; 16 > i; i++) {
for (var a = o[i], s = this._lBlock, c = this._rBlock, u = 0, p = 0; 8 > p; p++)
u |= f[p][((c ^ a[p]) & l[p]) >>> 0];
this._lBlock = c,
this._rBlock = s ^ u
}
o = this._lBlock,
this._lBlock = this._rBlock,
this._rBlock = o,
t.call(this, 1, 1431655765),
e.call(this, 8, 16711935),
e.call(this, 2, 858993459),
t.call(this, 16, 65535),
t.call(this, 4, 252645135),
n[r] = this._lBlock,
n[r + 1] = this._rBlock
},
keySize: 2,
ivSize: 2,
blockSize: 2
});
n.DES = o._createHelper(p),
a = a.TripleDES = o.extend({
_doReset: function () {
var t = this._key.words;
this._des1 = p.createEncryptor(i.create(t.slice(0, 2))),
this._des2 = p.createEncryptor(i.create(t.slice(2, 4))),
this._des3 = p.createEncryptor(i.create(t.slice(4, 6)))
},
encryptBlock: function (t, e) {
this._des1.encryptBlock(t, e),
this._des2.decryptBlock(t, e),
this._des3.encryptBlock(t, e)
},
decryptBlock: function (t, e) {
this._des3.decryptBlock(t, e),
this._des2.encryptBlock(t, e),
this._des1.decryptBlock(t, e)
},
keySize: 6,
ivSize: 2,
blockSize: 2
}),
n.TripleDES = o._createHelper(a)
}(),
window.CryptoJS = r