Add CryptoJS libraries

This commit is contained in:
Namhyeon Go 2023-07-27 18:09:20 +09:00
parent b894475d62
commit 1a8d808a7b
52 changed files with 248 additions and 1 deletions

4
app.js
View File

@ -471,6 +471,10 @@ var yaml = require("app/assets/js/js-yaml-4.1.0.wsh");
// is.js Micro check library
var is = require("app/assets/js/is-0.9.0.min");
// Intl (ECMA-402) polyfill
//var Intl = require("app/assets/js/Intl-1.2.5-e93b114.min");
//console.log(new Intl.NumberFormat().format(1234567890.123456));
// Dive into entrypoint
function __main__() {
if (typeof window === "undefined") {

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,5 @@
function main(args) {
console.log("Hello world");
console.log(typeof Intl);
}
exports.main = main;

1
lib/crypto-js/aes.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./enc-base64"),require("./md5"),require("./evpkdf"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(e.CryptoJS)}(this,function(t){return function(){var e=t,r=e.lib.BlockCipher,i=e.algo,d=[],u=[],h=[],y=[],a=[],p=[],l=[],v=[],_=[],k=[];!function(){for(var e=[],r=0;r<256;r++)e[r]=r<128?r<<1:r<<1^283;var i=0,o=0;for(r=0;r<256;r++){var t=o^o<<1^o<<2^o<<3^o<<4;t=t>>>8^255&t^99,d[i]=t;var n=e[u[t]=i],c=e[n],s=e[c],f=257*e[t]^16843008*t;h[i]=f<<24|f>>>8,y[i]=f<<16|f>>>16,a[i]=f<<8|f>>>24,p[i]=f;f=16843009*s^65537*c^257*n^16843008*i;l[t]=f<<24|f>>>8,v[t]=f<<16|f>>>16,_[t]=f<<8|f>>>24,k[t]=f,i?(i=n^e[e[e[s^n]]],o^=e[e[o]]):i=o=1}}();var S=[0,1,2,4,8,16,32,64,128,27,54],o=i.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,r=e.words,i=e.sigBytes/4,o=4*(1+(this._nRounds=6+i)),t=this._keySchedule=[],n=0;n<o;n++)if(n<i)t[n]=r[n];else{var c=t[n-1];n%i?6<i&&n%i==4&&(c=d[c>>>24]<<24|d[c>>>16&255]<<16|d[c>>>8&255]<<8|d[255&c]):(c=d[(c=c<<8|c>>>24)>>>24]<<24|d[c>>>16&255]<<16|d[c>>>8&255]<<8|d[255&c],c^=S[n/i|0]<<24),t[n]=t[n-i]^c}for(var s=this._invKeySchedule=[],f=0;f<o;f++){n=o-f;if(f%4)c=t[n];else c=t[n-4];s[f]=f<4||n<=4?c:l[d[c>>>24]]^v[d[c>>>16&255]]^_[d[c>>>8&255]]^k[d[255&c]]}}},encryptBlock:function(e,r){this._doCryptBlock(e,r,this._keySchedule,h,y,a,p,d)},decryptBlock:function(e,r){var i=e[r+1];e[r+1]=e[r+3],e[r+3]=i,this._doCryptBlock(e,r,this._invKeySchedule,l,v,_,k,u);i=e[r+1];e[r+1]=e[r+3],e[r+3]=i},_doCryptBlock:function(e,r,i,o,t,n,c,s){for(var f=this._nRounds,d=e[r]^i[0],u=e[r+1]^i[1],h=e[r+2]^i[2],y=e[r+3]^i[3],a=4,p=1;p<f;p++){var l=o[d>>>24]^t[u>>>16&255]^n[h>>>8&255]^c[255&y]^i[a++],v=o[u>>>24]^t[h>>>16&255]^n[y>>>8&255]^c[255&d]^i[a++],_=o[h>>>24]^t[y>>>16&255]^n[d>>>8&255]^c[255&u]^i[a++],k=o[y>>>24]^t[d>>>16&255]^n[u>>>8&255]^c[255&h]^i[a++];d=l,u=v,h=_,y=k}l=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[h>>>8&255]<<8|s[255&y])^i[a++],v=(s[u>>>24]<<24|s[h>>>16&255]<<16|s[y>>>8&255]<<8|s[255&d])^i[a++],_=(s[h>>>24]<<24|s[y>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^i[a++],k=(s[y>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&h])^i[a++];e[r]=l,e[r+1]=v,e[r+2]=_,e[r+3]=k},keySize:8});e.AES=r._createHelper(o)}(),t.AES});

1
lib/crypto-js/cipher-core.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,t){"object"==typeof exports?module.exports=exports=t(require("./core"),require("./evpkdf")):"function"==typeof define&&define.amd?define(["./core","./evpkdf"],t):t(e.CryptoJS)}(this,function(m){m.lib.Cipher||function(){var e=m,t=e.lib,r=t.Base,a=t.WordArray,i=t.BufferedBlockAlgorithm,n=e.enc,c=(n.Utf8,n.Base64),o=e.algo.EvpKDF,s=t.Cipher=i.extend({cfg:r.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(i){return{encrypt:function(e,t,r){return f(t).encrypt(i,e,t,r)},decrypt:function(e,t,r){return f(t).decrypt(i,e,t,r)}}}});function f(e){return"string"==typeof e?g:k}t.StreamCipher=s.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var p,d=e.mode={},h=t.BlockCipherMode=r.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),u=d.CBC=((p=h.extend()).Encryptor=p.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize;l.call(this,e,t,i),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),p.Decryptor=p.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,n=e.slice(t,t+i);r.decryptBlock(e,t),l.call(this,e,t,i),this._prevBlock=n}}),p);function l(e,t,r){var i=this._iv;if(i){var n=i;this._iv=void 0}else n=this._prevBlock;for(var c=0;c<r;c++)e[t+c]^=n[c]}var _=(e.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,i=r-e.sigBytes%r,n=i<<24|i<<16|i<<8|i,c=[],o=0;o<i;o+=4)c.push(n);var s=a.create(c,i);e.concat(s)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},y=(t.BlockCipher=s.extend({cfg:s.cfg.extend({mode:u,padding:_}),reset:function(){s.reset.call(this);var e=this.cfg,t=e.iv,r=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=r.createEncryptor;else{i=r.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,t&&t.words):(this._mode=i.call(r,this,t&&t.words),this._mode.__creator=i)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{t=this._process(!0);e.unpad(t)}return t},blockSize:4}),t.CipherParams=r.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=(e.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;if(r)var i=a.create([1398893684,1701076831]).concat(r).concat(t);else i=t;return i.toString(c)},parse:function(e){var t=c.parse(e),r=t.words;if(1398893684==r[0]&&1701076831==r[1]){var i=a.create(r.slice(2,4));r.splice(0,4),t.sigBytes-=16}return y.create({ciphertext:t,salt:i})}},k=t.SerializableCipher=r.extend({cfg:r.extend({format:v}),encrypt:function(e,t,r,i){i=this.cfg.extend(i);var n=e.createEncryptor(r,i),c=n.finalize(t),o=n.cfg;return y.create({ciphertext:c,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,r,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(r,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),x=(e.kdf={}).OpenSSL={execute:function(e,t,r,i){i=i||a.random(8);var n=o.create({keySize:t+r}).compute(e,i),c=a.create(n.words.slice(t),4*r);return n.sigBytes=4*t,y.create({key:n,iv:c,salt:i})}},g=t.PasswordBasedCipher=k.extend({cfg:k.cfg.extend({kdf:x}),encrypt:function(e,t,r,i){var n=(i=this.cfg.extend(i)).kdf.execute(r,e.keySize,e.ivSize);i.iv=n.iv;var c=k.encrypt.call(this,e,t,n.key,i);return c.mixIn(n),c},decrypt:function(e,t,r,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var n=i.kdf.execute(r,e.keySize,e.ivSize,t.salt);return i.iv=n.iv,k.decrypt.call(this,e,t,n.key,i)}})}()});

1
lib/crypto-js/core.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(t,n){"object"==typeof exports?module.exports=exports=n():"function"==typeof define&&define.amd?define([],n):t.CryptoJS=n()}(this,function(){var f,i,t,n,e,h,r,o,s,a,c,u,p=p||(f=Math,i=Object.create||function(t){var n;return d.prototype=t,n=new d,d.prototype=null,n},n=(t={}).lib={},e=n.Base={extend:function(t){var n=i(this);return t&&n.mixIn(t),n.hasOwnProperty("init")&&this.init!==n.init||(n.init=function(){n.$super.init.apply(this,arguments)}),(n.init.prototype=n).$super=this,n},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},h=n.WordArray=e.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=null!=n?n:4*t.length},toString:function(t){return(t||o).stringify(this)},concat:function(t){var n=this.words,i=t.words,e=this.sigBytes,r=t.sigBytes;if(this.clamp(),e%4)for(var o=0;o<r;o++){var s=i[o>>>2]>>>24-o%4*8&255;n[e+o>>>2]|=s<<24-(e+o)%4*8}else for(o=0;o<r;o+=4)n[e+o>>>2]=i[o>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=f.ceil(n/4)},clone:function(){var t=e.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){function n(n){n=n;var i=987654321,e=4294967295;return function(){var t=((i=36969*(65535&i)+(i>>16)&e)<<16)+(n=18e3*(65535&n)+(n>>16)&e)&e;return t/=4294967296,(t+=.5)*(.5<f.random()?1:-1)}}for(var i,e=[],r=0;r<t;r+=4){var o=n(4294967296*(i||f.random()));i=987654071*o(),e.push(4294967296*o()|0)}return new h.init(e,t)}}),r=t.enc={},o=r.Hex={stringify:function(t){for(var n=t.words,i=t.sigBytes,e=[],r=0;r<i;r++){var o=n[r>>>2]>>>24-r%4*8&255;e.push((o>>>4).toString(16)),e.push((15&o).toString(16))}return e.join("")},parse:function(t){for(var n=t.length,i=[],e=0;e<n;e+=2)i[e>>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new h.init(i,n/2)}},s=r.Latin1={stringify:function(t){for(var n=t.words,i=t.sigBytes,e=[],r=0;r<i;r++){var o=n[r>>>2]>>>24-r%4*8&255;e.push(String.fromCharCode(o))}return e.join("")},parse:function(t){for(var n=t.length,i=[],e=0;e<n;e++)i[e>>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new h.init(i,n)}},a=r.Utf8={stringify:function(t){try{return decodeURIComponent(escape(s.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return s.parse(unescape(encodeURIComponent(t)))}},c=n.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=a.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var n=this._data,i=n.words,e=n.sigBytes,r=this.blockSize,o=e/(4*r),s=(o=t?f.ceil(o):f.max((0|o)-this._minBufferSize,0))*r,a=f.min(4*s,e);if(s){for(var c=0;c<s;c+=r)this._doProcessBlock(i,c);var u=i.splice(0,s);n.sigBytes-=a}return new h.init(u,a)},clone:function(){var t=e.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),n.Hasher=c.extend({cfg:e.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){c.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(i){return function(t,n){return new i.init(n).finalize(t)}},_createHmacHelper:function(i){return function(t,n){return new u.HMAC.init(i,n).finalize(t)}}}),u=t.algo={},t);function d(){}return p});

1
lib/crypto-js/crypto-js.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
lib/crypto-js/enc-base64.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(r,e){"object"==typeof exports?module.exports=exports=e(require("./core")):"function"==typeof define&&define.amd?define(["./core"],e):e(r.CryptoJS)}(this,function(r){var c;return c=r.lib.WordArray,r.enc.Base64={stringify:function(r){var e=r.words,t=r.sigBytes,a=this._map;r.clamp();for(var n=[],o=0;o<t;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,f=0;f<4&&o+.75*f<t;f++)n.push(a.charAt(i>>>6*(3-f)&63));var c=a.charAt(64);if(c)for(;n.length%4;)n.push(c);return n.join("")},parse:function(r){var e=r.length,t=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var n=0;n<t.length;n++)a[t.charCodeAt(n)]=n}var o=t.charAt(64);if(o){var i=r.indexOf(o);-1!==i&&(e=i)}return function(r,e,t){for(var a=[],n=0,o=0;o<e;o++)if(o%4){var i=t[r.charCodeAt(o-1)]<<o%4*2,f=t[r.charCodeAt(o)]>>>6-o%4*2;a[n>>>2]|=(i|f)<<24-n%4*8,n++}return c.create(a,n)}(r,e,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64});

1
lib/crypto-js/enc-hex.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,o){"object"==typeof exports?module.exports=exports=o(require("./core")):"function"==typeof define&&define.amd?define(["./core"],o):o(e.CryptoJS)}(this,function(e){return e.enc.Hex});

1
lib/crypto-js/enc-latin1.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,o){"object"==typeof exports?module.exports=exports=o(require("./core")):"function"==typeof define&&define.amd?define(["./core"],o):o(e.CryptoJS)}(this,function(e){return e.enc.Latin1});

1
lib/crypto-js/enc-utf16.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(r,e){"object"==typeof exports?module.exports=exports=e(require("./core")):"function"==typeof define&&define.amd?define(["./core"],e):e(r.CryptoJS)}(this,function(e){return function(){var o=e.lib.WordArray,r=e.enc;r.Utf16=r.Utf16BE={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],o=0;o<t;o+=2){var f=e[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(f))}return n.join("")},parse:function(r){for(var e=r.length,t=[],n=0;n<e;n++)t[n>>>1]|=r.charCodeAt(n)<<16-n%2*16;return o.create(t,2*e)}};function i(r){return r<<8&4278255360|r>>>8&16711935}r.Utf16LE={stringify:function(r){for(var e=r.words,t=r.sigBytes,n=[],o=0;o<t;o+=2){var f=i(e[o>>>2]>>>16-o%4*8&65535);n.push(String.fromCharCode(f))}return n.join("")},parse:function(r){for(var e=r.length,t=[],n=0;n<e;n++)t[n>>>1]|=i(r.charCodeAt(n)<<16-n%2*16);return o.create(t,2*e)}}}(),e.enc.Utf16});

1
lib/crypto-js/enc-utf8.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,o){"object"==typeof exports?module.exports=exports=o(require("./core")):"function"==typeof define&&define.amd?define(["./core"],o):o(e.CryptoJS)}(this,function(e){return e.enc.Utf8});

1
lib/crypto-js/evpkdf.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,t){"object"==typeof exports?module.exports=exports=t(require("./core"),require("./sha1"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)}(this,function(e){var t,r,i,u,n,o,a;return r=(t=e).lib,i=r.Base,u=r.WordArray,n=t.algo,o=n.MD5,a=n.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:o,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,i=r.hasher.create(),n=u.create(),o=n.words,a=r.keySize,c=r.iterations;o.length<a;){f&&i.update(f);var f=i.update(e).finalize(t);i.reset();for(var s=1;s<c;s++)f=i.finalize(f),i.reset();n.concat(f)}return n.sigBytes=4*a,n}}),t.EvpKDF=function(e,t,r){return a.create(r).compute(e,t)},e.EvpKDF});

1
lib/crypto-js/format-hex.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){var t,i;return t=e.lib.CipherParams,i=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var r=i.parse(e);return t.create({ciphertext:r})}},e.format.Hex});

1
lib/crypto-js/format-openssl.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){return e.format.OpenSSL});

1
lib/crypto-js/hmac-md5.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./md5"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./md5","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacMD5});

1
lib/crypto-js/hmac-ripemd160.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./ripemd160"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./ripemd160","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacRIPEMD160});

1
lib/crypto-js/hmac-sha1.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./sha1"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacSHA1});

1
lib/crypto-js/hmac-sha224.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./sha256"),require("./sha224"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha256","./sha224","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacSHA224});

1
lib/crypto-js/hmac-sha256.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./sha256"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha256","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacSHA256});

1
lib/crypto-js/hmac-sha3.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./x64-core"),require("./sha3"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha3","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacSHA3});

1
lib/crypto-js/hmac-sha384.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./x64-core"),require("./sha512"),require("./sha384"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512","./sha384","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacSHA384});

1
lib/crypto-js/hmac-sha512.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./x64-core"),require("./sha512"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512","./hmac"],r):r(e.CryptoJS)}(this,function(e){return e.HmacSHA512});

1
lib/crypto-js/hmac.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,t){"object"==typeof exports?module.exports=exports=t(require("./core")):"function"==typeof define&&define.amd?define(["./core"],t):t(e.CryptoJS)}(this,function(e){var t,h;t=e.lib.Base,h=e.enc.Utf8,e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=h.parse(t));var i=e.blockSize,n=4*i;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),r=this._iKey=t.clone(),o=s.words,a=r.words,f=0;f<i;f++)o[f]^=1549556828,a[f]^=909522486;s.sigBytes=r.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,i=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(i))}})});

1
lib/crypto-js/index.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./x64-core"),require("./lib-typedarrays"),require("./enc-utf16"),require("./enc-base64"),require("./md5"),require("./sha1"),require("./sha256"),require("./sha224"),require("./sha512"),require("./sha384"),require("./sha3"),require("./ripemd160"),require("./hmac"),require("./pbkdf2"),require("./evpkdf"),require("./cipher-core"),require("./mode-cfb"),require("./mode-ctr"),require("./mode-ctr-gladman"),require("./mode-ofb"),require("./mode-ecb"),require("./pad-ansix923"),require("./pad-iso10126"),require("./pad-iso97971"),require("./pad-zeropadding"),require("./pad-nopadding"),require("./format-hex"),require("./aes"),require("./tripledes"),require("./rc4"),require("./rabbit"),require("./rabbit-legacy")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],r):e.CryptoJS=r(e.CryptoJS)}(this,function(e){return e});

1
lib/crypto-js/lib-typedarrays.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(n,r){"object"==typeof exports?module.exports=exports=r(require("./core")):"function"==typeof define&&define.amd?define(["./core"],r):r(n.CryptoJS)}(this,function(r){return function(){if("function"==typeof ArrayBuffer){var n=r.lib.WordArray,i=n.init;(n.init=function(n){if(n instanceof ArrayBuffer&&(n=new Uint8Array(n)),(n instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array)&&(n=new Uint8Array(n.buffer,n.byteOffset,n.byteLength)),n instanceof Uint8Array){for(var r=n.byteLength,t=[],e=0;e<r;e++)t[e>>>2]|=n[e]<<24-e%4*8;i.call(this,t,r)}else i.apply(this,arguments)}).prototype=n}}(),r.lib.WordArray});

193
lib/crypto-js/list.txt Normal file
View File

@ -0,0 +1,193 @@
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/crypto-js.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/aes.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/cipher-core.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/core.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/enc-base64.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/enc-hex.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/enc-latin1.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/enc-utf16.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/enc-utf8.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/evpkdf.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/format-hex.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/format-openssl.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-md5.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-ripemd160.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-sha1.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-sha224.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-sha256.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-sha3.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-sha384.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac-sha512.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/hmac.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/index.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/lib-typedarrays.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/md5.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/mode-cfb.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/mode-ctr-gladman.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/mode-ctr.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/mode-ecb.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/mode-ofb.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/pad-ansix923.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/pad-iso10126.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/pad-iso97971.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/pad-nopadding.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/pad-pkcs7.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/pad-zeropadding.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/pbkdf2.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/rabbit-legacy.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/rabbit.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/rc4.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/ripemd160.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/sha1.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/sha224.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/sha256.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/sha3.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/sha384.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/sha512.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/tripledes.min.js
https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.3.0/x64-core.min.js

1
lib/crypto-js/md5.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(r,e){"object"==typeof exports?module.exports=exports=e(require("./core")):"function"==typeof define&&define.amd?define(["./core"],e):e(r.CryptoJS)}(this,function(i){return function(h){var r=i,e=r.lib,t=e.WordArray,n=e.Hasher,o=r.algo,b=[];!function(){for(var r=0;r<64;r++)b[r]=4294967296*h.abs(h.sin(r+1))|0}();var a=o.MD5=n.extend({_doReset:function(){this._hash=new t.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(r,e){for(var t=0;t<16;t++){var n=e+t,o=r[n];r[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=r[e+0],s=r[e+1],c=r[e+2],f=r[e+3],h=r[e+4],u=r[e+5],v=r[e+6],d=r[e+7],l=r[e+8],_=r[e+9],p=r[e+10],y=r[e+11],D=r[e+12],H=r[e+13],M=r[e+14],g=r[e+15],m=a[0],w=a[1],x=a[2],B=a[3];m=j(m,w,x,B,i,7,b[0]),B=j(B,m,w,x,s,12,b[1]),x=j(x,B,m,w,c,17,b[2]),w=j(w,x,B,m,f,22,b[3]),m=j(m,w,x,B,h,7,b[4]),B=j(B,m,w,x,u,12,b[5]),x=j(x,B,m,w,v,17,b[6]),w=j(w,x,B,m,d,22,b[7]),m=j(m,w,x,B,l,7,b[8]),B=j(B,m,w,x,_,12,b[9]),x=j(x,B,m,w,p,17,b[10]),w=j(w,x,B,m,y,22,b[11]),m=j(m,w,x,B,D,7,b[12]),B=j(B,m,w,x,H,12,b[13]),x=j(x,B,m,w,M,17,b[14]),m=k(m,w=j(w,x,B,m,g,22,b[15]),x,B,s,5,b[16]),B=k(B,m,w,x,v,9,b[17]),x=k(x,B,m,w,y,14,b[18]),w=k(w,x,B,m,i,20,b[19]),m=k(m,w,x,B,u,5,b[20]),B=k(B,m,w,x,p,9,b[21]),x=k(x,B,m,w,g,14,b[22]),w=k(w,x,B,m,h,20,b[23]),m=k(m,w,x,B,_,5,b[24]),B=k(B,m,w,x,M,9,b[25]),x=k(x,B,m,w,f,14,b[26]),w=k(w,x,B,m,l,20,b[27]),m=k(m,w,x,B,H,5,b[28]),B=k(B,m,w,x,c,9,b[29]),x=k(x,B,m,w,d,14,b[30]),m=q(m,w=k(w,x,B,m,D,20,b[31]),x,B,u,4,b[32]),B=q(B,m,w,x,l,11,b[33]),x=q(x,B,m,w,y,16,b[34]),w=q(w,x,B,m,M,23,b[35]),m=q(m,w,x,B,s,4,b[36]),B=q(B,m,w,x,h,11,b[37]),x=q(x,B,m,w,d,16,b[38]),w=q(w,x,B,m,p,23,b[39]),m=q(m,w,x,B,H,4,b[40]),B=q(B,m,w,x,i,11,b[41]),x=q(x,B,m,w,f,16,b[42]),w=q(w,x,B,m,v,23,b[43]),m=q(m,w,x,B,_,4,b[44]),B=q(B,m,w,x,D,11,b[45]),x=q(x,B,m,w,g,16,b[46]),m=z(m,w=q(w,x,B,m,c,23,b[47]),x,B,i,6,b[48]),B=z(B,m,w,x,d,10,b[49]),x=z(x,B,m,w,M,15,b[50]),w=z(w,x,B,m,u,21,b[51]),m=z(m,w,x,B,D,6,b[52]),B=z(B,m,w,x,f,10,b[53]),x=z(x,B,m,w,p,15,b[54]),w=z(w,x,B,m,s,21,b[55]),m=z(m,w,x,B,l,6,b[56]),B=z(B,m,w,x,g,10,b[57]),x=z(x,B,m,w,v,15,b[58]),w=z(w,x,B,m,H,21,b[59]),m=z(m,w,x,B,h,6,b[60]),B=z(B,m,w,x,y,10,b[61]),x=z(x,B,m,w,c,15,b[62]),w=z(w,x,B,m,_,21,b[63]),a[0]=a[0]+m|0,a[1]=a[1]+w|0,a[2]=a[2]+x|0,a[3]=a[3]+B|0},_doFinalize:function(){var r=this._data,e=r.words,t=8*this._nDataBytes,n=8*r.sigBytes;e[n>>>5]|=128<<24-n%32;var o=h.floor(t/4294967296),a=t;e[15+(64+n>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e[14+(64+n>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,s=i.words,c=0;c<4;c++){var f=s[c];s[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return i},clone:function(){var r=n.clone.call(this);return r._hash=this._hash.clone(),r}});function j(r,e,t,n,o,a,i){var s=r+(e&t|~e&n)+o+i;return(s<<a|s>>>32-a)+e}function k(r,e,t,n,o,a,i){var s=r+(e&n|t&~n)+o+i;return(s<<a|s>>>32-a)+e}function q(r,e,t,n,o,a,i){var s=r+(e^t^n)+o+i;return(s<<a|s>>>32-a)+e}function z(r,e,t,n,o,a,i){var s=r+(t^(e|~n))+o+i;return(s<<a|s>>>32-a)+e}r.MD5=n._createHelper(a),r.HmacMD5=n._createHmacHelper(a)}(Math),i.MD5});

1
lib/crypto-js/mode-cfb.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,i){"object"==typeof exports?module.exports=exports=i(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(e.CryptoJS)}(this,function(e){function t(e,i,o,r){var c=this._iv;if(c){var t=c.slice(0);this._iv=void 0}else t=this._prevBlock;r.encryptBlock(t,0);for(var n=0;n<o;n++)e[i+n]^=t[n]}var i;return e.mode.CFB=((i=e.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,i){var o=this._cipher,r=o.blockSize;t.call(this,e,i,r,o),this._prevBlock=e.slice(i,i+r)}}),i.Decryptor=i.extend({processBlock:function(e,i){var o=this._cipher,r=o.blockSize,c=e.slice(i,i+r);t.call(this,e,i,r,o),this._prevBlock=c}}),i),e.mode.CFB});

1
lib/crypto-js/mode-ctr-gladman.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){function d(e){if(255==(e>>24&255)){var r=e>>16&255,o=e>>8&255,i=255&e;255===r?(r=0,255===o?(o=0,255===i?i=0:++i):++o):++r,e=0,e+=r<<16,e+=o<<8,e+=i}else e+=1<<24;return e}var r,o;return e.mode.CTRGladman=(r=e.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(e,r){var o,i=this._cipher,t=i.blockSize,c=this._iv,n=this._counter;c&&(n=this._counter=c.slice(0),this._iv=void 0),0===((o=n)[0]=d(o[0]))&&(o[1]=d(o[1]));var p=n.slice(0);i.encryptBlock(p,0);for(var s=0;s<t;s++)e[r+s]^=p[s]}}),r.Decryptor=o,r),e.mode.CTRGladman});

1
lib/crypto-js/mode-ctr.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){var r,o;return e.mode.CTR=(r=e.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(e,r){var o=this._cipher,i=o.blockSize,t=this._iv,c=this._counter;t&&(c=this._counter=t.slice(0),this._iv=void 0);var n=c.slice(0);o.encryptBlock(n,0),c[i-1]=c[i-1]+1|0;for(var p=0;p<i;p++)e[r+p]^=n[p]}}),r.Decryptor=o,r),e.mode.CTR});

1
lib/crypto-js/mode-ecb.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,o){"object"==typeof exports?module.exports=exports=o(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],o):o(e.CryptoJS)}(this,function(e){var o;return e.mode.ECB=((o=e.lib.BlockCipherMode.extend()).Encryptor=o.extend({processBlock:function(e,o){this._cipher.encryptBlock(e,o)}}),o.Decryptor=o.extend({processBlock:function(e,o){this._cipher.decryptBlock(e,o)}}),o),e.mode.ECB});

1
lib/crypto-js/mode-ofb.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){var r,o;return e.mode.OFB=(r=e.lib.BlockCipherMode.extend(),o=r.Encryptor=r.extend({processBlock:function(e,r){var o=this._cipher,i=o.blockSize,t=this._iv,c=this._keystream;t&&(c=this._keystream=t.slice(0),this._iv=void 0),o.encryptBlock(c,0);for(var n=0;n<i;n++)e[r+n]^=c[n]}}),r.Decryptor=o,r),e.mode.OFB});

1
lib/crypto-js/pad-ansix923.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){return e.pad.AnsiX923={pad:function(e,r){var i=e.sigBytes,o=4*r,t=o-i%o,n=i+t-1;e.clamp(),e.words[n>>>2]|=t<<24-n%4*8,e.sigBytes+=t},unpad:function(e){var r=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=r}},e.pad.Ansix923});

1
lib/crypto-js/pad-iso10126.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(i){return i.pad.Iso10126={pad:function(e,r){var o=4*r,t=o-e.sigBytes%o;e.concat(i.lib.WordArray.random(t-1)).concat(i.lib.WordArray.create([t<<24],1))},unpad:function(e){var r=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=r}},i.pad.Iso10126});

1
lib/crypto-js/pad-iso97971.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,o){"object"==typeof exports?module.exports=exports=o(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],o):o(e.CryptoJS)}(this,function(r){return r.pad.Iso97971={pad:function(e,o){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,o)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971});

1
lib/crypto-js/pad-nopadding.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,o){"object"==typeof exports?module.exports=exports=o(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],o):o(e.CryptoJS)}(this,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding});

1
lib/crypto-js/pad-pkcs7.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){return e.pad.Pkcs7});

1
lib/crypto-js/pad-zeropadding.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){return e.pad.ZeroPadding={pad:function(e,r){var o=4*r;e.clamp(),e.sigBytes+=o-(e.sigBytes%o||o)},unpad:function(e){for(var r=e.words,o=e.sigBytes-1;!(r[o>>>2]>>>24-o%4*8&255);)o--;e.sigBytes=o+1}},e.pad.ZeroPadding});

1
lib/crypto-js/pbkdf2.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./sha1"),require("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],r):r(e.CryptoJS)}(this,function(e){var r,t,i,m,o,n,x,a;return t=(r=e).lib,i=t.Base,m=t.WordArray,o=r.algo,n=o.SHA1,x=o.HMAC,a=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:n,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,r){for(var t=this.cfg,i=x.create(t.hasher,e),o=m.create(),n=m.create([1]),a=o.words,c=n.words,s=t.keySize,f=t.iterations;a.length<s;){var u=i.update(r).finalize(n);i.reset();for(var d=u.words,h=d.length,p=u,g=1;g<f;g++){p=i.finalize(p),i.reset();for(var l=p.words,y=0;y<h;y++)d[y]^=l[y]}o.concat(u),c[0]++}return o.sigBytes=4*s,o}}),r.PBKDF2=function(e,r,t){return a.create(t).compute(e,r)},e.PBKDF2});

1
lib/crypto-js/rabbit-legacy.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./enc-base64"),require("./md5"),require("./evpkdf"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){function d(){for(var e=this._X,r=this._C,i=0;i<8;i++)f[i]=r[i];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<f[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<f[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<f[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<f[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<f[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<f[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<f[6]>>>0?1:0)|0,this._b=r[7]>>>0<f[7]>>>0?1:0;for(i=0;i<8;i++){var t=e[i]+r[i],o=65535&t,c=t>>>16,s=((o*o>>>17)+o*c>>>15)+c*c,a=((4294901760&t)*t|0)+((65535&t)*t|0);n[i]=s^a}e[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,e[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,e[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,e[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,e[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,e[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,e[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,e[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}var r,i,t,o,f,n,c;return i=(r=e).lib.StreamCipher,t=r.algo,o=[],f=[],n=[],c=t.RabbitLegacy=i.extend({_doReset:function(){for(var e=this._key.words,r=this.cfg.iv,i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],t=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]],o=this._b=0;o<4;o++)d.call(this);for(o=0;o<8;o++)t[o]^=i[o+4&7];if(r){var c=r.words,s=c[0],a=c[1],f=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=f>>>16|4294901760&n,b=n<<16|65535&f;t[0]^=f,t[1]^=h,t[2]^=n,t[3]^=b,t[4]^=f,t[5]^=h,t[6]^=n,t[7]^=b;for(o=0;o<4;o++)d.call(this)}},_doProcessBlock:function(e,r){var i=this._X;d.call(this),o[0]=i[0]^i[5]>>>16^i[3]<<16,o[1]=i[2]^i[7]>>>16^i[5]<<16,o[2]=i[4]^i[1]>>>16^i[7]<<16,o[3]=i[6]^i[3]>>>16^i[1]<<16;for(var t=0;t<4;t++)o[t]=16711935&(o[t]<<8|o[t]>>>24)|4278255360&(o[t]<<24|o[t]>>>8),e[r+t]^=o[t]},blockSize:4,ivSize:2}),r.RabbitLegacy=i._createHelper(c),e.RabbitLegacy});

1
lib/crypto-js/rabbit.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./enc-base64"),require("./md5"),require("./evpkdf"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(e.CryptoJS)}(this,function(e){function d(){for(var e=this._X,r=this._C,i=0;i<8;i++)a[i]=r[i];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<a[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<a[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<a[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<a[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<a[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<a[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<a[6]>>>0?1:0)|0,this._b=r[7]>>>0<a[7]>>>0?1:0;for(i=0;i<8;i++){var t=e[i]+r[i],o=65535&t,s=t>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,f=((4294901760&t)*t|0)+((65535&t)*t|0);n[i]=c^f}e[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,e[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,e[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,e[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,e[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,e[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,e[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,e[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}var r,i,t,o,a,n,s;return i=(r=e).lib.StreamCipher,t=r.algo,o=[],a=[],n=[],s=t.Rabbit=i.extend({_doReset:function(){for(var e=this._key.words,r=this.cfg.iv,i=0;i<4;i++)e[i]=16711935&(e[i]<<8|e[i]>>>24)|4278255360&(e[i]<<24|e[i]>>>8);var t=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(i=this._b=0;i<4;i++)d.call(this);for(i=0;i<8;i++)o[i]^=t[i+4&7];if(r){var s=r.words,c=s[0],f=s[1],a=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),n=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),h=a>>>16|4294901760&n,b=n<<16|65535&a;o[0]^=a,o[1]^=h,o[2]^=n,o[3]^=b,o[4]^=a,o[5]^=h,o[6]^=n,o[7]^=b;for(i=0;i<4;i++)d.call(this)}},_doProcessBlock:function(e,r){var i=this._X;d.call(this),o[0]=i[0]^i[5]>>>16^i[3]<<16,o[1]=i[2]^i[7]>>>16^i[5]<<16,o[2]=i[4]^i[1]>>>16^i[7]<<16,o[3]=i[6]^i[3]>>>16^i[1]<<16;for(var t=0;t<4;t++)o[t]=16711935&(o[t]<<8|o[t]>>>24)|4278255360&(o[t]<<24|o[t]>>>8),e[r+t]^=o[t]},blockSize:4,ivSize:2}),r.Rabbit=i._createHelper(s),e.Rabbit});

1
lib/crypto-js/rc4.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./enc-base64"),require("./md5"),require("./evpkdf"),require("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(e.CryptoJS)}(this,function(s){return function(){var e=s,r=e.lib.StreamCipher,i=e.algo,t=i.RC4=r.extend({_doReset:function(){for(var e=this._key,r=e.words,i=e.sigBytes,t=this._S=[],o=0;o<256;o++)t[o]=o;o=0;for(var c=0;o<256;o++){var s=o%i,n=r[s>>>2]>>>24-s%4*8&255;c=(c+t[o]+n)%256;var f=t[o];t[o]=t[c],t[c]=f}this._i=this._j=0},_doProcessBlock:function(e,r){e[r]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,r=this._i,i=this._j,t=0,o=0;o<4;o++){i=(i+e[r=(r+1)%256])%256;var c=e[r];e[r]=e[i],e[i]=c,t|=e[(e[r]+e[i])%256]<<24-8*o}return this._i=r,this._j=i,t}e.RC4=r._createHelper(t);var c=i.RC4Drop=t.extend({cfg:t.cfg.extend({drop:192}),_doReset:function(){t._doReset.call(this);for(var e=this.cfg.drop;0<e;e--)o.call(this)}});e.RC4Drop=r._createHelper(c)}(),s.RC4});

1
lib/crypto-js/ripemd160.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core")):"function"==typeof define&&define.amd?define(["./core"],r):r(e.CryptoJS)}(this,function(e){function R(e,r,t){return e^r^t}function g(e,r,t){return e&r|~e&t}function m(e,r,t){return(e|~r)^t}function x(e,r,t){return e&t|r&~t}function B(e,r,t){return e^(r|~t)}function E(e,r){return e<<r|e>>>32-r}var r,t,o,n,s,I,b,j,k,q,z,a;return Math,t=(r=e).lib,o=t.WordArray,n=t.Hasher,s=r.algo,I=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),b=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),j=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),k=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),q=o.create([0,1518500249,1859775393,2400959708,2840853838]),z=o.create([1352829926,1548603684,1836072691,2053994217,0]),a=s.RIPEMD160=n.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,r){for(var t=0;t<16;t++){var o=r+t,n=e[o];e[o]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var s,a,c,i,u,h,f,d,l,_,p,w=this._hash.words,v=q.words,y=z.words,D=I.words,H=b.words,M=j.words,P=k.words;h=s=w[0],f=a=w[1],d=c=w[2],l=i=w[3],_=u=w[4];for(t=0;t<80;t+=1)p=s+e[r+D[t]]|0,p+=t<16?R(a,c,i)+v[0]:t<32?g(a,c,i)+v[1]:t<48?m(a,c,i)+v[2]:t<64?x(a,c,i)+v[3]:B(a,c,i)+v[4],p=(p=E(p|=0,M[t]))+u|0,s=u,u=i,i=E(c,10),c=a,a=p,p=h+e[r+H[t]]|0,p+=t<16?B(f,d,l)+y[0]:t<32?x(f,d,l)+y[1]:t<48?m(f,d,l)+y[2]:t<64?g(f,d,l)+y[3]:R(f,d,l)+y[4],p=(p=E(p|=0,P[t]))+_|0,h=_,_=l,l=E(d,10),d=f,f=p;p=w[1]+c+l|0,w[1]=w[2]+i+_|0,w[2]=w[3]+u+h|0,w[3]=w[4]+s+f|0,w[4]=w[0]+a+d|0,w[0]=p},_doFinalize:function(){var e=this._data,r=e.words,t=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32,r[14+(64+o>>>9<<4)]=16711935&(t<<8|t>>>24)|4278255360&(t<<24|t>>>8),e.sigBytes=4*(r.length+1),this._process();for(var n=this._hash,s=n.words,a=0;a<5;a++){var c=s[a];s[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return n},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),r.RIPEMD160=n._createHelper(a),r.HmacRIPEMD160=n._createHmacHelper(a),e.RIPEMD160});

1
lib/crypto-js/sha1.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,t){"object"==typeof exports?module.exports=exports=t(require("./core")):"function"==typeof define&&define.amd?define(["./core"],t):t(e.CryptoJS)}(this,function(e){var t,r,o,s,n,l,i;return r=(t=e).lib,o=r.WordArray,s=r.Hasher,n=t.algo,l=[],i=n.SHA1=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,o=r[0],s=r[1],n=r[2],i=r[3],a=r[4],h=0;h<80;h++){if(h<16)l[h]=0|e[t+h];else{var c=l[h-3]^l[h-8]^l[h-14]^l[h-16];l[h]=c<<1|c>>>31}var f=(o<<5|o>>>27)+a+l[h];f+=h<20?1518500249+(s&n|~s&i):h<40?1859775393+(s^n^i):h<60?(s&n|s&i|n&i)-1894007588:(s^n^i)-899497514,a=i,i=n,n=s<<30|s>>>2,s=o,o=f}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+n|0,r[3]=r[3]+i|0,r[4]=r[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[14+(64+o>>>9<<4)]=Math.floor(r/4294967296),t[15+(64+o>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA1=s._createHelper(i),t.HmacSHA1=s._createHmacHelper(i),e.SHA1});

1
lib/crypto-js/sha224.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core"),require("./sha256")):"function"==typeof define&&define.amd?define(["./core","./sha256"],r):r(e.CryptoJS)}(this,function(e){var r,t,i,n,o;return t=(r=e).lib.WordArray,i=r.algo,n=i.SHA256,o=i.SHA224=n.extend({_doReset:function(){this._hash=new t.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=n._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=n._createHelper(o),r.HmacSHA224=n._createHmacHelper(o),e.SHA224});

1
lib/crypto-js/sha256.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,r){"object"==typeof exports?module.exports=exports=r(require("./core")):"function"==typeof define&&define.amd?define(["./core"],r):r(e.CryptoJS)}(this,function(c){return function(n){var e=c,r=e.lib,t=r.WordArray,o=r.Hasher,i=e.algo,s=[],w=[];!function(){function e(e){for(var r=n.sqrt(e),t=2;t<=r;t++)if(!(e%t))return;return 1}function r(e){return 4294967296*(e-(0|e))|0}for(var t=2,o=0;o<64;)e(t)&&(o<8&&(s[o]=r(n.pow(t,.5))),w[o]=r(n.pow(t,1/3)),o++),t++}();var A=[],a=i.SHA256=o.extend({_doReset:function(){this._hash=new t.init(s.slice(0))},_doProcessBlock:function(e,r){for(var t=this._hash.words,o=t[0],n=t[1],i=t[2],s=t[3],a=t[4],c=t[5],f=t[6],h=t[7],u=0;u<64;u++){if(u<16)A[u]=0|e[r+u];else{var l=A[u-15],d=(l<<25|l>>>7)^(l<<14|l>>>18)^l>>>3,_=A[u-2],p=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;A[u]=d+A[u-7]+p+A[u-16]}var v=o&n^o&i^n&i,H=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),y=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&c^~a&f)+w[u]+A[u];h=f,f=c,c=a,a=s+y|0,s=i,i=n,n=o,o=y+(H+v)|0}t[0]=t[0]+o|0,t[1]=t[1]+n|0,t[2]=t[2]+i|0,t[3]=t[3]+s|0,t[4]=t[4]+a|0,t[5]=t[5]+c|0,t[6]=t[6]+f|0,t[7]=t[7]+h|0},_doFinalize:function(){var e=this._data,r=e.words,t=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(64+o>>>9<<4)]=n.floor(t/4294967296),r[15+(64+o>>>9<<4)]=t,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA256=o._createHelper(a),e.HmacSHA256=o._createHmacHelper(a)}(Math),c.SHA256});

1
lib/crypto-js/sha3.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(r,o){"object"==typeof exports?module.exports=exports=o(require("./core"),require("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],o):o(r.CryptoJS)}(this,function(h){return function(g){var r=h,o=r.lib,v=o.WordArray,t=o.Hasher,c=r.x64.Word,e=r.algo,L=[],q=[],W=[];!function(){for(var r=1,o=0,e=0;e<24;e++){L[r+5*o]=(e+1)*(e+2)/2%64;var t=(2*r+3*o)%5;r=o%5,o=t}for(r=0;r<5;r++)for(o=0;o<5;o++)q[r+5*o]=o+(2*r+3*o)%5*5;for(var i=1,h=0;h<24;h++){for(var a=0,n=0,f=0;f<7;f++){if(1&i){var s=(1<<f)-1;s<32?n^=1<<s:a^=1<<s-32}128&i?i=i<<1^113:i<<=1}W[h]=c.create(a,n)}}();var j=[];!function(){for(var r=0;r<25;r++)j[r]=c.create()}();var i=e.SHA3=t.extend({cfg:t.cfg.extend({outputLength:512}),_doReset:function(){for(var r=this._state=[],o=0;o<25;o++)r[o]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(r,o){for(var e=this._state,t=this.blockSize/2,i=0;i<t;i++){var h=r[o+2*i],a=r[o+2*i+1];h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(A=e[i]).high^=a,A.low^=h}for(var n=0;n<24;n++){for(var f=0;f<5;f++){for(var s=0,c=0,l=0;l<5;l++){s^=(A=e[f+5*l]).high,c^=A.low}var g=j[f];g.high=s,g.low=c}for(f=0;f<5;f++){var v=j[(f+4)%5],u=j[(f+1)%5],w=u.high,d=u.low;for(s=v.high^(w<<1|d>>>31),c=v.low^(d<<1|w>>>31),l=0;l<5;l++){(A=e[f+5*l]).high^=s,A.low^=c}}for(var p=1;p<25;p++){var _=(A=e[p]).high,H=A.low,x=L[p];if(x<32)s=_<<x|H>>>32-x,c=H<<x|_>>>32-x;else s=H<<x-32|_>>>64-x,c=_<<x-32|H>>>64-x;var S=j[q[p]];S.high=s,S.low=c}var y=j[0],b=e[0];y.high=b.high,y.low=b.low;for(f=0;f<5;f++)for(l=0;l<5;l++){var A=e[p=f+5*l],k=j[p],m=j[(f+1)%5+5*l],z=j[(f+2)%5+5*l];A.high=k.high^~m.high&z.high,A.low=k.low^~m.low&z.low}A=e[0];var B=W[n];A.high^=B.high,A.low^=B.low}},_doFinalize:function(){var r=this._data,o=r.words,e=(this._nDataBytes,8*r.sigBytes),t=32*this.blockSize;o[e>>>5]|=1<<24-e%32,o[(g.ceil((1+e)/t)*t>>>5)-1]|=128,r.sigBytes=4*o.length,this._process();for(var i=this._state,h=this.cfg.outputLength/8,a=h/8,n=[],f=0;f<a;f++){var s=i[f],c=s.high,l=s.low;c=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),l=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),n.push(l),n.push(c)}return new v.init(n,h)},clone:function(){for(var r=t.clone.call(this),o=r._state=this._state.slice(0),e=0;e<25;e++)o[e]=o[e].clone();return r}});r.SHA3=t._createHelper(i),r.HmacSHA3=t._createHmacHelper(i)}(Math),h.SHA3});

1
lib/crypto-js/sha384.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(e,i){"object"==typeof exports?module.exports=exports=i(require("./core"),require("./x64-core"),require("./sha512")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512"],i):i(e.CryptoJS)}(this,function(e){var i,n,t,r,o,a,c;return n=(i=e).x64,t=n.Word,r=n.WordArray,o=i.algo,a=o.SHA512,c=o.SHA384=a.extend({_doReset:function(){this._hash=new r.init([new t.init(3418070365,3238371032),new t.init(1654270250,914150663),new t.init(2438529370,812702999),new t.init(355462360,4144912697),new t.init(1731405415,4290775857),new t.init(2394180231,1750603025),new t.init(3675008525,1694076839),new t.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}}),i.SHA384=a._createHelper(c),i.HmacSHA384=a._createHmacHelper(c),e.SHA384});

1
lib/crypto-js/sha512.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(i,h){"object"==typeof exports?module.exports=exports=h(require("./core"),require("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],h):h(i.CryptoJS)}(this,function(w){return function(){var i=w,h=i.lib.Hasher,o=i.x64,e=o.Word,n=o.WordArray,t=i.algo;function r(){return e.create.apply(e,arguments)}var Ai=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],mi=[];!function(){for(var i=0;i<80;i++)mi[i]=r()}();var l=t.SHA512=h.extend({_doReset:function(){this._hash=new n.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(i,h){for(var o=this._hash.words,e=o[0],n=o[1],t=o[2],r=o[3],l=o[4],w=o[5],a=o[6],s=o[7],c=e.high,g=e.low,f=n.high,u=n.low,d=t.high,_=t.low,p=r.high,v=r.low,H=l.high,y=l.low,x=w.high,S=w.low,A=a.high,m=a.low,B=s.high,b=s.low,k=c,q=g,z=f,W=u,j=d,C=_,D=p,F=v,J=H,M=y,P=x,R=S,X=A,E=m,G=B,I=b,K=0;K<80;K++){var L=mi[K];if(K<16)var N=L.high=0|i[h+2*K],O=L.low=0|i[h+2*K+1];else{var Q=mi[K-15],T=Q.high,U=Q.low,V=(T>>>1|U<<31)^(T>>>8|U<<24)^T>>>7,Y=(U>>>1|T<<31)^(U>>>8|T<<24)^(U>>>7|T<<25),Z=mi[K-2],$=Z.high,ii=Z.low,hi=($>>>19|ii<<13)^($<<3|ii>>>29)^$>>>6,oi=(ii>>>19|$<<13)^(ii<<3|$>>>29)^(ii>>>6|$<<26),ei=mi[K-7],ni=ei.high,ti=ei.low,ri=mi[K-16],li=ri.high,wi=ri.low;N=(N=(N=V+ni+((O=Y+ti)>>>0<Y>>>0?1:0))+hi+((O=O+oi)>>>0<oi>>>0?1:0))+li+((O=O+wi)>>>0<wi>>>0?1:0);L.high=N,L.low=O}var ai,si=J&P^~J&X,ci=M&R^~M&E,gi=k&z^k&j^z&j,fi=q&W^q&C^W&C,ui=(k>>>28|q<<4)^(k<<30|q>>>2)^(k<<25|q>>>7),di=(q>>>28|k<<4)^(q<<30|k>>>2)^(q<<25|k>>>7),_i=(J>>>14|M<<18)^(J>>>18|M<<14)^(J<<23|M>>>9),pi=(M>>>14|J<<18)^(M>>>18|J<<14)^(M<<23|J>>>9),vi=Ai[K],Hi=vi.high,yi=vi.low,xi=G+_i+((ai=I+pi)>>>0<I>>>0?1:0),Si=di+fi;G=X,I=E,X=P,E=R,P=J,R=M,J=D+(xi=(xi=(xi=xi+si+((ai=ai+ci)>>>0<ci>>>0?1:0))+Hi+((ai=ai+yi)>>>0<yi>>>0?1:0))+N+((ai=ai+O)>>>0<O>>>0?1:0))+((M=F+ai|0)>>>0<F>>>0?1:0)|0,D=j,F=C,j=z,C=W,z=k,W=q,k=xi+(ui+gi+(Si>>>0<di>>>0?1:0))+((q=ai+Si|0)>>>0<ai>>>0?1:0)|0}g=e.low=g+q,e.high=c+k+(g>>>0<q>>>0?1:0),u=n.low=u+W,n.high=f+z+(u>>>0<W>>>0?1:0),_=t.low=_+C,t.high=d+j+(_>>>0<C>>>0?1:0),v=r.low=v+F,r.high=p+D+(v>>>0<F>>>0?1:0),y=l.low=y+M,l.high=H+J+(y>>>0<M>>>0?1:0),S=w.low=S+R,w.high=x+P+(S>>>0<R>>>0?1:0),m=a.low=m+E,a.high=A+X+(m>>>0<E>>>0?1:0),b=s.low=b+I,s.high=B+G+(b>>>0<I>>>0?1:0)},_doFinalize:function(){var i=this._data,h=i.words,o=8*this._nDataBytes,e=8*i.sigBytes;return h[e>>>5]|=128<<24-e%32,h[30+(128+e>>>10<<5)]=Math.floor(o/4294967296),h[31+(128+e>>>10<<5)]=o,i.sigBytes=4*h.length,this._process(),this._hash.toX32()},clone:function(){var i=h.clone.call(this);return i._hash=this._hash.clone(),i},blockSize:32});i.SHA512=h._createHelper(l),i.HmacSHA512=h._createHmacHelper(l)}(),w.SHA512});

1
lib/crypto-js/tripledes.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
lib/crypto-js/x64-core.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(t,e){"object"==typeof exports?module.exports=exports=e(require("./core")):"function"==typeof define&&define.amd?define(["./core"],e):e(t.CryptoJS)}(this,function(t){var e,n,i,o;return e=t.lib,n=e.Base,i=e.WordArray,(o=t.x64={}).Word=n.extend({init:function(t,e){this.high=t,this.low=e}}),o.WordArray=n.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:8*t.length},toX32:function(){for(var t=this.words,e=t.length,o=[],r=0;r<e;r++){var n=t[r];o.push(n.high),o.push(n.low)}return i.create(o,this.sigBytes)},clone:function(){for(var t=n.clone.call(this),e=t.words=this.words.slice(0),o=e.length,r=0;r<o;r++)e[r]=e[r].clone();return t}}),t});