pFan.encrypt = { //# 加密
md5: 함수(단어) { //# md5 哈希算法
/*
* Crypto-JS 3.1.2
*
http://code.google.com/p/crypto-js
*/
var CryptoJS = 함수(s, p) {
var m = {}, l = m.lib = {}, n = 함수() { }, r = l.Base = { 확장: 함수(b) { n.prototype = this; var h = 새로운 n; b && h.mixIn(b); h.hasOwnProperty("init") || (h.init = function () { h.$super.init.apply(this, 인수) }); h.init.prototype = h; h.$super = 이것; return h }, 생성: function () { var b = this.extend(); b.init.apply(b, 인수); return b }, init: function () { }, mixIn: function (b) { for (var h in b) b.hasOwnProperty(h) && (this[h] = b[h]); b.hasOwnProperty("toString") && (this.toString = b.toString) }, clone: function () { return this.init.prototype.extend(this) } }, q = l.WordArray = r.extend( { init: function (b, h) { b = this.words = b || []; this.sigBytes = h != p ? h : 4 * b.length }, toString: function (b) { return (b || t).stringify(this) }, concat: function (b) { var h = this.words, a = b.words, j = this.sigBytes; b = b.sigBytes; (j % 4) for (var g = 0; g < b; g ) h[j g >>2] |= (a[g >>2] >>> 24 - 8 * (g % 4) & 255) u; u ) a[u] = 4294967296 * s.abs(s.sin(u 1)) | 0; q = q.MD5 = t.extend({
_doReset: 함수() { this._hash = new v.init([1732584193, 4023233417, 2562383102, 271733878]) }, _doProcessBlock: 함수(g, k) {
for (var b = 0; 16 > b; b ) { var h = k b, w = g[h]; g[h] = (w>>24) & 16711935 | (w>>8) & 4278255360 } var b = this._hash.words, h = g[k 0], w = g[k 1], j = g[k 2], q = g[k 3], r = g[k 4], s = g[k 5], t = g[k 6], u = g[k 7], v = g[k 8] , x = g[k 9], y = g[k 10], z = g[k 11], A = g[k 12], B = g[k 13], C = g[k 14], D = g[k 15], c = b[0], d = b[1], e = b[2], f = b[3], c = p(c, d, e, f, h, 7 , a[0]), f = p(f, c, d, e, w, 12, a[1]), e = p(e, f, c, d, j, 17, a[2]) , d = p(d, e, f, c, q, 22, a[3]), c = p(c, d, e, f, r, 7, a[4]), f = p(f , c, d, e, s, 12, a[5]), e = p(e, f, c, d, t, 17, a[6]), d = p(d, e, f, c , u, 22, a[7]), c = p(c, d, e, f, v, 7, a[8]), f = p(f, c, d, e, x, 12, a [9]), e = p(e, f, c, d, y, 17, a[10]), d = p(d, e, f, c, z, 22, a[11]), c = p(c, d, e, f, A, 7, a[12]), f = p(f, c, d, e, B, 12, a[13]), e = p(e, f , c, d, C, 17, a[14]), d = p(d, e, f, c, D, 22, a[15]), c = m(c, d, e, f, w , 5, a[16]), f = m(f, c, d, e, t, 9, a[17]), e = m(e, f, c, d, z, 14, a[18 ]), d = m(d, e, f, c, h, 20, a[19]), c = m(c, d, e, f, s, 5, a[20]), f = m (f, c, d, e, y, 9, a[21]), e = m(e, f, c, d, D, 14, a[22]), d = m(d, e, f , c, r, 20, a[23]), c = m(c, d, e, f, x, 5, a[24]), f = m(f, c, d, e, C, 9 , a[25]), e = m(e, f, c, d, q, 14, a[26]), d = m(d, e, f, c, v, 20, a[27]) , c = m(c, d, e, f, B, 5, a[28]), f = m(f, c, d, e, j, 9, a[29]), e = m(e , f, c, d, u, 14, a[30]), d = m(d, e, f, c, A, 20, a[31]), c = l(c, d, e, f , s, 4, a[32]), f = l(f, c, d, e, v, 11, a[33]), e = l(e, f, c, d, z, 16, a [34]), d = l(d, e, f, c, C, 23, a[35]), c = l(c, d, e, f, w, 4, a[36]), f = l(f, c, d, e, r, 11, a[37]), e = l(e, f, c, d, u, 16, a[38]), d = l(d, e , f, c, y, 23, a[39]), c = l(c, d, e, f, B, 4, a[40]), f = l(f, c, d, e, h , 11, a[41]), e = l(e, f, c, d, q, 16, a[42]), d = l(d, e, f, c, t, 23, a[43 ]), c = l(c, d, e, f, x, 4, a[44]), f = l(f, c, d, e, A, 11, a[45]), e = l (e, f, c, d, D, 16, a[46]), d = l(d, e, f, c, j, 23, a[47]), c = n(c, d, e , f, h, 6, a[48]), f = n(f, c, d, e, u, 10, a[49]), e = n(e, f, c, d,
C, 15, a[50]), d = n(d, e, f, c, s, 21, a[51]), c = n(c, d, e, f, A, 6, a[ 52]), f = n(f, c, d, e, q, 10, a[53]), e = n(e, f, c, d, y, 15, a[54]), d = n(d, e, f, c, w, 21, a[55]), c = n(c, d, e, f, v, 6, a[56]), f = n(f, c, d, e, D, 10, a[57]), e = n(e, f, c, d, t, 15, a[58]), d = n(d, e, f, c, B, 21, a[59]), c = n(c, d, e, f, r, 6, a[60]), f = n(f, c, d, e, z, 10, a[61] ), e = n(e, f, c, d, j, 15, a[62]), d = n(d, e, f, c, x, 21, a[63]); b[0] = b[0] c | 0; b[1] = b[1] d | 0; b[2] = b[2] 전자 | 0; b[3] = b[3] f | 0
}, _doFinalize: function () { var a = this._data, k = a.words, b = 8 * this._nDataBytes, h = 8 * a.sigBytes; k[h >>>> 5] |= 128 >> 9 > 24) & 16711935 | (l<<24 |l>>8) & 4278255360; k[(h 64 >>> 9 > 24) & 16711935 | (b>>8) & 4278255360; a.sigBytes = 4 * (k.길이 1); this._process(); a = this._hash; k = a.단어; for (b = 0; 4 > b; b ) h = k[b], k[b] = (h > 24) & 16711935 | (h<<24 |h>>8) & 4278255360; return a }, clone: function () { var a = t.clone.call(this); a._hash = this._hash.clone(); }
를 반환합니다.
}); r.MD5 = t._createHelper(q); r.HmacMD5 = t._createHmacHelper(q)
})(수학);
return CryptoJS.MD5(words).toString();
}
// 샤1
, sha1: 함수(단어) { //# sha1 哈希算法
var CryptoJS = 함수(e, m) { var p = {}, j = p.lib = {}, l = 함수() { }, f = j.Base = { 확장: 함수(a) { l.prototype = 이; var c = 새로운 l; a && c.mixIn(a); c.hasOwnProperty("init") || (c.init = function () { c.$super.init.apply(this, 인수) }); c.init.prototype = c; c.$super = 이것; return c }, 생성: function () { var a = this.extend(); a.init.apply(a, 인수); return a }, init: function () { }, mixIn: function (a) { for (var c in a) a.hasOwnProperty(c) && (this[c] = a[c]); a.hasOwnProperty("toString") && (this.toString = a.toString) }, clone: function () { return this.init.prototype.extend(this) } }, n = j.WordArray = f.extend( { init: function (a, c) { a = this.words = a || []; this.sigBytes = c != m ? c : 4 * a.length }, toString: function (a) { return (a || h).stringify(this) }, concat: function (a) { var c = this.words, q = a.words, d = this.sigBytes; a = a.sigBytes; (d % 4) for (var b = 0; b < a; b ) c[d b >>2] |= (q[b >>> 2] >>> 24 - 8 * (b % 4) & 255) >> 2] = q[b >>> 2]; else c.push.apply(c, q) this.sigBytes = a; : function () { var a = this.words, c = this.sigBytes; a[c >>> 4294967295 a ? c ((g ^ e ^ k) 1859775393) : 60 > a ? c ((g & e | g & k | e & k) ) : c((g^e^k) - 899497514); [0] = b[0] h | 0; b[2] = b[3] k | ; b[4] = b[4] j | 0 }, _doFinalize: 함수 () { var f = this._data, e = f.words, b = 8 * this._nDataBytes, h = 8 * f.sigBytes; e[h >>>> 5] |= 128 >> 9 >> 9
return CryptoJS.SHA1(words).toString();
}
// time33 哈希
, time33: 함수(단어) { //# time33 哈希算法
단어 = 단어 || '';
//哈希time33算法
for (var i = 0, len = word.length, hash = 5381; i < len; i) {
해시 = (해시
};
해시 & 0x7fffffff;
반환
}
}