CryptoJS




var CryptoJS=CryptoJS||function(t,i){var n={},e=n.lib={},r=function(){},o=e.Base={extend:function(t){r.prototype=this;var i=new r;return t&&i.mixIn(t),i.hasOwnProperty("init")||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},s=e.WordArray=o.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=null!=i?i:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var i=this.words,n=t.words,e=this.sigBytes;if(t=t.sigBytes,this.clamp(),e%4)for(var r=0;r<t;r++)i[e+r>>>2]|=(n[r>>>2]>>>24-r%4*8&255)<<24-(e+r)%4*8;else if(65535<n.length)for(r=0;r<t;r+=4)i[e+r>>>2]=n[r>>>2];else i.push.apply(i,n);return this.sigBytes+=t,this},clamp:function(){var i=this.words,n=this.sigBytes;i[n>>>2]&=4294967295<<32-n%4*8,i.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(i){for(var n=[],e=0;e<i;e+=4)n.push(4294967296*t.random()|0);return new s.init(n,i)}}),h=n.enc={},a=h.Hex={stringify:function(t){var i=t.words;t=t.sigBytes;for(var n=[],e=0;e<t;e++){var r=i[e>>>2]>>>24-e%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e+=2)n[e>>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new s.init(n,i/2)}},c=h.Latin1={stringify:function(t){var i=t.words;t=t.sigBytes;for(var n=[],e=0;e<t;e++)n.push(String.fromCharCode(i[e>>>2]>>>24-e%4*8&255));return n.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e++)n[e>>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new s.init(n,i)}},u=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},f=e.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(i){var n=this._data,e=n.words,r=n.sigBytes,o=this.blockSize,h=r/(4*o);if(i=(h=i?t.ceil(h):t.max((0|h)-this._minBufferSize,0))*o,r=t.min(4*i,r),i){for(var a=0;a<i;a+=o)this._doProcessBlock(e,a);a=e.splice(0,i),n.sigBytes-=r}return new s.init(a,r)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});e.Hasher=f.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.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(i,n){return new t.init(n).finalize(i)}},_createHmacHelper:function(t){return function(i,n){return new l.HMAC.init(t,n).finalize(i)}}});var l=n.algo={};return n}(Math);!function(){var t=CryptoJS,i=t.lib.WordArray;t.enc.Base64={stringify:function(t){var i=t.words,n=t.sigBytes,e=this._map;t.clamp(),t=[];for(var r=0;r<n;r+=3)for(var o=(i[r>>>2]>>>24-r%4*8&255)<<16|(i[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|i[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;4>s&&r+.75*s<n;s++)t.push(e.charAt(o>>>6*(3-s)&63));if(i=e.charAt(64))for(;t.length%4;)t.push(i);return t.join("")},parse:function(t){var n=t.length,e=this._map;(r=e.charAt(64))&&(-1!=(r=t.indexOf(r))&&(n=r));for(var r=[],o=0,s=0;s<n;s++)if(s%4){var h=e.indexOf(t.charAt(s-1))<<s%4*2,a=e.indexOf(t.charAt(s))>>>6-s%4*2;r[o>>>2]|=(h|a)<<24-o%4*8,o++}return i.create(r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}();CryptoJS=CryptoJS||function(t,i){var n={},e=n.lib={},r=function(){},o=e.Base={extend:function(t){r.prototype=this;var i=new r;return t&&i.mixIn(t),i.hasOwnProperty("init")||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},s=e.WordArray=o.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=null!=i?i:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var i=this.words,n=t.words,e=this.sigBytes;if(t=t.sigBytes,this.clamp(),e%4)for(var r=0;r<t;r++)i[e+r>>>2]|=(n[r>>>2]>>>24-r%4*8&255)<<24-(e+r)%4*8;else if(65535<n.length)for(r=0;r<t;r+=4)i[e+r>>>2]=n[r>>>2];else i.push.apply(i,n);return this.sigBytes+=t,this},clamp:function(){var i=this.words,n=this.sigBytes;i[n>>>2]&=4294967295<<32-n%4*8,i.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(i){for(var n=[],e=0;e<i;e+=4)n.push(4294967296*t.random()|0);return new s.init(n,i)}}),h=n.enc={},a=h.Hex={stringify:function(t){var i=t.words;t=t.sigBytes;for(var n=[],e=0;e<t;e++){var r=i[e>>>2]>>>24-e%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e+=2)n[e>>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new s.init(n,i/2)}},c=h.Latin1={stringify:function(t){var i=t.words;t=t.sigBytes;for(var n=[],e=0;e<t;e++)n.push(String.fromCharCode(i[e>>>2]>>>24-e%4*8&255));return n.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e++)n[e>>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new s.init(n,i)}},u=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},f=e.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(i){var n=this._data,e=n.words,r=n.sigBytes,o=this.blockSize,h=r/(4*o);if(i=(h=i?t.ceil(h):t.max((0|h)-this._minBufferSize,0))*o,r=t.min(4*i,r),i){for(var a=0;a<i;a+=o)this._doProcessBlock(e,a);a=e.splice(0,i),n.sigBytes-=r}return new s.init(a,r)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});e.Hasher=f.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.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(i,n){return new t.init(n).finalize(i)}},_createHmacHelper:function(t){return function(i,n){return new l.HMAC.init(t,n).finalize(i)}}});var l=n.algo={};return n}(Math);!function(t){var i,n=(i=CryptoJS).lib,e=n.Base,r=n.WordArray;(i=i.x64={}).Word=e.extend({init:function(t,i){this.high=t,this.low=i}}),i.WordArray=e.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=null!=i?i:8*t.length},toX32:function(){for(var t=this.words,i=t.length,n=[],e=0;e<i;e++){var o=t[e];n.push(o.high),n.push(o.low)}return r.create(n,this.sigBytes)},clone:function(){for(var t=e.clone.call(this),i=t.words=this.words.slice(0),n=i.length,r=0;r<n;r++)i[r]=i[r].clone();return t}})}(),function(){function t(){return e.create.apply(e,arguments)}for(var i=CryptoJS,n=i.lib.Hasher,e=(o=i.x64).Word,r=o.WordArray,o=i.algo,s=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],h=[],a=0;80>a;a++)h[a]=t();o=o.SHA512=n.extend({_doReset:function(){this._hash=new r.init([new e.init(1779033703,4089235720),new e.init(3144134277,2227873595),new e.init(1013904242,4271175723),new e.init(2773480762,1595750129),new e.init(1359893119,2917565137),new e.init(2600822924,725511199),new e.init(528734635,4215389547),new e.init(1541459225,327033209)])},_doProcessBlock:function(t,i){for(var n=(f=this._hash.words)[0],e=f[1],r=f[2],o=f[3],a=f[4],c=f[5],u=f[6],f=f[7],l=n.high,p=n.low,g=e.high,d=e.low,w=r.high,y=r.low,v=o.high,_=o.low,B=a.high,m=a.low,S=c.high,x=c.low,H=u.high,z=u.low,A=f.high,C=f.low,b=l,k=p,I=g,P=d,W=w,U=y,J=v,M=_,O=B,R=m,D=S,F=x,j=H,$=z,K=A,X=C,E=0;80>E;E++){var L=h[E];if(16>E)var T=L.high=0|t[i+2*E],q=L.low=0|t[i+2*E+1];else{T=((q=(T=h[E-15]).high)>>>1|(G=T.low)<<31)^(q>>>8|G<<24)^q>>>7;var G=(G>>>1|q<<31)^(G>>>8|q<<24)^(G>>>7|q<<25),N=((q=(N=h[E-2]).high)>>>19|(Q=N.low)<<13)^(q<<3|Q>>>29)^q>>>6,Q=(Q>>>19|q<<13)^(Q<<3|q>>>29)^(Q>>>6|q<<26),V=(q=h[E-7]).high,Y=(Z=h[E-16]).high,Z=Z.low;T=(T=(T=T+V+((q=G+q.low)>>>0<G>>>0?1:0))+N+((q=q+Q)>>>0<Q>>>0?1:0))+Y+((q=q+Z)>>>0<Z>>>0?1:0);L.high=T,L.low=q}V=O&D^~O&j,Z=R&F^~R&$,L=b&I^b&W^I&W;var tt=k&P^k&U^P&U,it=(G=(b>>>28|k<<4)^(b<<30|k>>>2)^(b<<25|k>>>7),N=(k>>>28|b<<4)^(k<<30|b>>>2)^(k<<25|b>>>7),(Q=s[E]).high),nt=Q.low;Y=K+((O>>>14|R<<18)^(O>>>18|R<<14)^(O<<23|R>>>9))+((Q=X+((R>>>14|O<<18)^(R>>>18|O<<14)^(R<<23|O>>>9)))>>>0<X>>>0?1:0),K=j,X=$,j=D,$=F,D=O,F=R,O=J+(Y=(Y=(Y=Y+V+((Q=Q+Z)>>>0<Z>>>0?1:0))+it+((Q=Q+nt)>>>0<nt>>>0?1:0))+T+((Q=Q+q)>>>0<q>>>0?1:0))+((R=M+Q|0)>>>0<M>>>0?1:0)|0,J=W,M=U,W=I,U=P,I=b,P=k,b=Y+(L=G+L+((q=N+tt)>>>0<N>>>0?1:0))+((k=Q+q|0)>>>0<Q>>>0?1:0)|0}p=n.low=p+k,n.high=l+b+(p>>>0<k>>>0?1:0),d=e.low=d+P,e.high=g+I+(d>>>0<P>>>0?1:0),y=r.low=y+U,r.high=w+W+(y>>>0<U>>>0?1:0),_=o.low=_+M,o.high=v+J+(_>>>0<M>>>0?1:0),m=a.low=m+R,a.high=B+O+(m>>>0<R>>>0?1:0),x=c.low=x+F,c.high=S+D+(x>>>0<F>>>0?1:0),z=u.low=z+$,u.high=H+j+(z>>>0<$>>>0?1:0),C=f.low=C+X,f.high=A+K+(C>>>0<X>>>0?1:0)},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,e=8*t.sigBytes;return i[e>>>5]|=128<<24-e%32,i[30+(e+128>>>10<<5)]=Math.floor(n/4294967296),i[31+(e+128>>>10<<5)]=n,t.sigBytes=4*i.length,this._process(),this._hash.toX32()},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),i.SHA512=n._createHelper(o),i.HmacSHA512=n._createHmacHelper(o)}(),function(){var t=CryptoJS,i=t.enc.Utf8;t.algo.HMAC=t.lib.Base.extend({init:function(t,n){t=this._hasher=new t.init,"string"==typeof n&&(n=i.parse(n));var e=t.blockSize,r=4*e;n.sigBytes>r&&(n=t.finalize(n)),n.clamp();for(var o=this._oKey=n.clone(),s=this._iKey=n.clone(),h=o.words,a=s.words,c=0;c<e;c++)h[c]^=1549556828,a[c]^=909522486;o.sigBytes=s.sigBytes=r,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var i=this._hasher;return t=i.finalize(t),i.reset(),i.finalize(this._oKey.clone().concat(t))}})}();CryptoJS=CryptoJS||function(t,i){var n={},e=n.lib={},r=function(){},o=e.Base={extend:function(t){r.prototype=this;var i=new r;return t&&i.mixIn(t),i.hasOwnProperty("init")||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},s=e.WordArray=o.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=null!=i?i:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var i=this.words,n=t.words,e=this.sigBytes;if(t=t.sigBytes,this.clamp(),e%4)for(var r=0;r<t;r++)i[e+r>>>2]|=(n[r>>>2]>>>24-r%4*8&255)<<24-(e+r)%4*8;else if(65535<n.length)for(r=0;r<t;r+=4)i[e+r>>>2]=n[r>>>2];else i.push.apply(i,n);return this.sigBytes+=t,this},clamp:function(){var i=this.words,n=this.sigBytes;i[n>>>2]&=4294967295<<32-n%4*8,i.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(i){for(var n=[],e=0;e<i;e+=4)n.push(4294967296*t.random()|0);return new s.init(n,i)}}),h=n.enc={},a=h.Hex={stringify:function(t){var i=t.words;t=t.sigBytes;for(var n=[],e=0;e<t;e++){var r=i[e>>>2]>>>24-e%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e+=2)n[e>>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new s.init(n,i/2)}},c=h.Latin1={stringify:function(t){var i=t.words;t=t.sigBytes;for(var n=[],e=0;e<t;e++)n.push(String.fromCharCode(i[e>>>2]>>>24-e%4*8&255));return n.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e++)n[e>>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new s.init(n,i)}},u=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},f=e.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(i){var n=this._data,e=n.words,r=n.sigBytes,o=this.blockSize,h=r/(4*o);if(i=(h=i?t.ceil(h):t.max((0|h)-this._minBufferSize,0))*o,r=t.min(4*i,r),i){for(var a=0;a<i;a+=o)this._doProcessBlock(e,a);a=e.splice(0,i),n.sigBytes-=r}return new s.init(a,r)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});e.Hasher=f.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.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(i,n){return new t.init(n).finalize(i)}},_createHmacHelper:function(t){return function(i,n){return new l.HMAC.init(t,n).finalize(i)}}});var l=n.algo={};return n}(Math);!function(t){var i,n=(i=CryptoJS).lib,e=n.Base,r=n.WordArray;(i=i.x64={}).Word=e.extend({init:function(t,i){this.high=t,this.low=i}}),i.WordArray=e.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=null!=i?i:8*t.length},toX32:function(){for(var t=this.words,i=t.length,n=[],e=0;e<i;e++){var o=t[e];n.push(o.high),n.push(o.low)}return r.create(n,this.sigBytes)},clone:function(){for(var t=e.clone.call(this),i=t.words=this.words.slice(0),n=i.length,r=0;r<n;r++)i[r]=i[r].clone();return t}})}(),function(){function t(){return e.create.apply(e,arguments)}for(var i=CryptoJS,n=i.lib.Hasher,e=(o=i.x64).Word,r=o.WordArray,o=i.algo,s=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],h=[],a=0;80>a;a++)h[a]=t();o=o.SHA512=n.extend({_doReset:function(){this._hash=new r.init([new e.init(1779033703,4089235720),new e.init(3144134277,2227873595),new e.init(1013904242,4271175723),new e.init(2773480762,1595750129),new e.init(1359893119,2917565137),new e.init(2600822924,725511199),new e.init(528734635,4215389547),new e.init(1541459225,327033209)])},_doProcessBlock:function(t,i){for(var n=(f=this._hash.words)[0],e=f[1],r=f[2],o=f[3],a=f[4],c=f[5],u=f[6],f=f[7],l=n.high,p=n.low,g=e.high,d=e.low,w=r.high,y=r.low,v=o.high,_=o.low,B=a.high,m=a.low,S=c.high,x=c.low,H=u.high,z=u.low,A=f.high,C=f.low,b=l,k=p,I=g,P=d,W=w,U=y,J=v,M=_,O=B,R=m,D=S,F=x,j=H,$=z,K=A,X=C,E=0;80>E;E++){var L=h[E];if(16>E)var T=L.high=0|t[i+2*E],q=L.low=0|t[i+2*E+1];else{T=((q=(T=h[E-15]).high)>>>1|(G=T.low)<<31)^(q>>>8|G<<24)^q>>>7;var G=(G>>>1|q<<31)^(G>>>8|q<<24)^(G>>>7|q<<25),N=((q=(N=h[E-2]).high)>>>19|(Q=N.low)<<13)^(q<<3|Q>>>29)^q>>>6,Q=(Q>>>19|q<<13)^(Q<<3|q>>>29)^(Q>>>6|q<<26),V=(q=h[E-7]).high,Y=(Z=h[E-16]).high,Z=Z.low;T=(T=(T=T+V+((q=G+q.low)>>>0<G>>>0?1:0))+N+((q=q+Q)>>>0<Q>>>0?1:0))+Y+((q=q+Z)>>>0<Z>>>0?1:0);L.high=T,L.low=q}V=O&D^~O&j,Z=R&F^~R&$,L=b&I^b&W^I&W;var tt=k&P^k&U^P&U,it=(G=(b>>>28|k<<4)^(b<<30|k>>>2)^(b<<25|k>>>7),N=(k>>>28|b<<4)^(k<<30|b>>>2)^(k<<25|b>>>7),(Q=s[E]).high),nt=Q.low;Y=K+((O>>>14|R<<18)^(O>>>18|R<<14)^(O<<23|R>>>9))+((Q=X+((R>>>14|O<<18)^(R>>>18|O<<14)^(R<<23|O>>>9)))>>>0<X>>>0?1:0),K=j,X=$,j=D,$=F,D=O,F=R,O=J+(Y=(Y=(Y=Y+V+((Q=Q+Z)>>>0<Z>>>0?1:0))+it+((Q=Q+nt)>>>0<nt>>>0?1:0))+T+((Q=Q+q)>>>0<q>>>0?1:0))+((R=M+Q|0)>>>0<M>>>0?1:0)|0,J=W,M=U,W=I,U=P,I=b,P=k,b=Y+(L=G+L+((q=N+tt)>>>0<N>>>0?1:0))+((k=Q+q|0)>>>0<Q>>>0?1:0)|0}p=n.low=p+k,n.high=l+b+(p>>>0<k>>>0?1:0),d=e.low=d+P,e.high=g+I+(d>>>0<P>>>0?1:0),y=r.low=y+U,r.high=w+W+(y>>>0<U>>>0?1:0),_=o.low=_+M,o.high=v+J+(_>>>0<M>>>0?1:0),m=a.low=m+R,a.high=B+O+(m>>>0<R>>>0?1:0),x=c.low=x+F,c.high=S+D+(x>>>0<F>>>0?1:0),z=u.low=z+$,u.high=H+j+(z>>>0<$>>>0?1:0),C=f.low=C+X,f.high=A+K+(C>>>0<X>>>0?1:0)},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,e=8*t.sigBytes;return i[e>>>5]|=128<<24-e%32,i[30+(e+128>>>10<<5)]=Math.floor(n/4294967296),i[31+(e+128>>>10<<5)]=n,t.sigBytes=4*i.length,this._process(),this._hash.toX32()},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),i.SHA512=n._createHelper(o),i.HmacSHA512=n._createHmacHelper(o)}();







debugger;

var salt ='WTHWdeM6';
var key = 'fcQgH9FX';

var hash = CryptoJS.SHA512('222222'+ salt);
var encryptedPWD = hash.toString(CryptoJS.enc.Base64);
var keyHash = CryptoJS.HmacSHA512(key, encryptedPWD);
var encryptedKey = keyHash.toString(CryptoJS.enc.Base64);



console.log(encryptedKey);


debugger;;



posted @ 2024-06-27 10:26  AngDH  阅读(6)  评论(0编辑  收藏  举报