芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/www/media/com_joomlaupdate/js/encryption.min.js
var Aes={Cipher:function(r,e){for(var o=e.length/4-1,n=[[],[],[],[]],a=0;a<16;a++)n[a%4][Math.floor(a/4)]=r[a];n=Aes.AddRoundKey(n,e,0,4);for(var t=1;t
6&&t%e==4&&(a=Aes.SubWord(a));for(c=0;c<4;c++)n[t][c]=n[t-e][c]^a[c]}return n},SubBytes:function(r,e){for(var o=0;o<4;o++)for(var n=0;n
>>8*t&255;for(t=0;t<4;t++)c[t+4]=255&A;var u="";for(t=0;t<8;t++)u+=String.fromCharCode(c[t]);for(var h=Aes.KeyExpansion(f),s=Math.ceil(r.length/16),C=new Array(s),v=0;v
>>8*l&255;for(l=0;l<4;l++)c[15-l-4]=v/4294967296>>>8*l;var y=Aes.Cipher(c,h),g=v
>>8*s&255;for(s=0;s<4;s++)c[15-s-4]=(u+1)/4294967296-1>>>8*s&255;var C=Aes.Cipher(c,d),v=new Array(r[u].length);for(t=0;t
0)for(;c++<3;)u+="=",d+="\0";for(c=0;c
>18&63,a=o>>12&63,t=o>>6&63,f=63&o,A[c/3]=h.charAt(n)+h.charAt(a)+h.charAt(t)+h.charAt(f);return i=(i=A.join("")).slice(0,i.length-u.length)+u},decode:function(r,e){e=void 0!==e&&e;var o,n,a,t,f,c,d,i,A=[],u=Base64.code;i=e?r.decodeUTF8():r;for(var h=0;h
>>16&255,n=c>>>8&255,a=255&c,A[h/4]=String.fromCharCode(o,n,a),64==f&&(A[h/4]=String.fromCharCode(o,n)),64==t&&(A[h/4]=String.fromCharCode(o));return d=A.join(""),e?d.decodeUTF8():d}},Utf8={encode:function(r){var e=r.replace(/[\u0080-\u07ff]/g,(function(r){var e=r.charCodeAt(0);return String.fromCharCode(192|e>>6,128|63&e)}));return e=e.replace(/[\u0800-\uffff]/g,(function(r){var e=r.charCodeAt(0);return String.fromCharCode(224|e>>12,128|e>>6&63,128|63&e)}))},decode:function(r){var e=r.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,(function(r){var e=(31&r.charCodeAt(0))<<6|63&r.charCodeAt(1);return String.fromCharCode(e)}));return e=e.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,(function(r){var e=(15&r.charCodeAt(0))<<12|(63&r.charCodeAt(1))<<6|63&r.charCodeAt(2);return String.fromCharCode(e)}))}};