1 line
3.7 KiB
JavaScript
1 line
3.7 KiB
JavaScript
!function(a){var b=function(a,b){return a<<b|a>>>32-b},c=function(a,b){var c,d,e,f,g;return e=2147483648&a,f=2147483648&b,c=1073741824&a,d=1073741824&b,g=(1073741823&a)+(1073741823&b),c&d?2147483648^g^e^f:c|d?1073741824&g?3221225472^g^e^f:1073741824^g^e^f:g^e^f},d=function(a,b,c){return a&b|~a&c},e=function(a,b,c){return a&c|b&~c},f=function(a,b,c){return a^b^c},g=function(a,b,c){return b^(a|~c)},h=function(a,e,f,g,h,i,j){return a=c(a,c(c(d(e,f,g),h),j)),c(b(a,i),e)},i=function(a,d,f,g,h,i,j){return a=c(a,c(c(e(d,f,g),h),j)),c(b(a,i),d)},j=function(a,d,e,g,h,i,j){return a=c(a,c(c(f(d,e,g),h),j)),c(b(a,i),d)},k=function(a,d,e,f,h,i,j){return a=c(a,c(c(g(d,e,f),h),j)),c(b(a,i),d)},l=function(a){for(var b,c=a.length,d=c+8,e=(d-d%64)/64,f=16*(e+1),g=Array(f-1),h=0,i=0;c>i;)b=(i-i%4)/4,h=8*(i%4),g[b]=g[b]|a.charCodeAt(i)<<h,i++;return b=(i-i%4)/4,h=8*(i%4),g[b]=g[b]|128<<h,g[f-2]=c<<3,g[f-1]=c>>>29,g},m=function(a){var b,c,d="",e="";for(c=0;3>=c;c++)b=255&a>>>8*c,e="0"+b.toString(16),d+=e.substr(e.length-2,2);return d},n=function(a){var b,c,d;for(a=a.replace(/\x0d\x0a/g,"\n"),b="",c=0;c<a.length;c++)d=a.charCodeAt(c),128>d?b+=String.fromCharCode(d):d>127&&2048>d?(b+=String.fromCharCode(192|d>>6),b+=String.fromCharCode(128|63&d)):(b+=String.fromCharCode(224|d>>12),b+=String.fromCharCode(128|63&d>>6),b+=String.fromCharCode(128|63&d));return b};a.md5=function(a){var b,d,e,f,g,o,p,q,r,s,t=Array(),u=7,v=12,w=17,x=22,y=5,z=9,A=14,B=20,C=4,D=11,E=16,F=23,G=6,H=10,I=15,J=21;for(a=n(a),t=l(a),o=1732584193,p=4023233417,q=2562383102,r=271733878,b=0;b<t.length;b+=16)d=o,e=p,f=q,g=r,o=h(o,p,q,r,t[b+0],u,3614090360),r=h(r,o,p,q,t[b+1],v,3905402710),q=h(q,r,o,p,t[b+2],w,606105819),p=h(p,q,r,o,t[b+3],x,3250441966),o=h(o,p,q,r,t[b+4],u,4118548399),r=h(r,o,p,q,t[b+5],v,1200080426),q=h(q,r,o,p,t[b+6],w,2821735955),p=h(p,q,r,o,t[b+7],x,4249261313),o=h(o,p,q,r,t[b+8],u,1770035416),r=h(r,o,p,q,t[b+9],v,2336552879),q=h(q,r,o,p,t[b+10],w,4294925233),p=h(p,q,r,o,t[b+11],x,2304563134),o=h(o,p,q,r,t[b+12],u,1804603682),r=h(r,o,p,q,t[b+13],v,4254626195),q=h(q,r,o,p,t[b+14],w,2792965006),p=h(p,q,r,o,t[b+15],x,1236535329),o=i(o,p,q,r,t[b+1],y,4129170786),r=i(r,o,p,q,t[b+6],z,3225465664),q=i(q,r,o,p,t[b+11],A,643717713),p=i(p,q,r,o,t[b+0],B,3921069994),o=i(o,p,q,r,t[b+5],y,3593408605),r=i(r,o,p,q,t[b+10],z,38016083),q=i(q,r,o,p,t[b+15],A,3634488961),p=i(p,q,r,o,t[b+4],B,3889429448),o=i(o,p,q,r,t[b+9],y,568446438),r=i(r,o,p,q,t[b+14],z,3275163606),q=i(q,r,o,p,t[b+3],A,4107603335),p=i(p,q,r,o,t[b+8],B,1163531501),o=i(o,p,q,r,t[b+13],y,2850285829),r=i(r,o,p,q,t[b+2],z,4243563512),q=i(q,r,o,p,t[b+7],A,1735328473),p=i(p,q,r,o,t[b+12],B,2368359562),o=j(o,p,q,r,t[b+5],C,4294588738),r=j(r,o,p,q,t[b+8],D,2272392833),q=j(q,r,o,p,t[b+11],E,1839030562),p=j(p,q,r,o,t[b+14],F,4259657740),o=j(o,p,q,r,t[b+1],C,2763975236),r=j(r,o,p,q,t[b+4],D,1272893353),q=j(q,r,o,p,t[b+7],E,4139469664),p=j(p,q,r,o,t[b+10],F,3200236656),o=j(o,p,q,r,t[b+13],C,681279174),r=j(r,o,p,q,t[b+0],D,3936430074),q=j(q,r,o,p,t[b+3],E,3572445317),p=j(p,q,r,o,t[b+6],F,76029189),o=j(o,p,q,r,t[b+9],C,3654602809),r=j(r,o,p,q,t[b+12],D,3873151461),q=j(q,r,o,p,t[b+15],E,530742520),p=j(p,q,r,o,t[b+2],F,3299628645),o=k(o,p,q,r,t[b+0],G,4096336452),r=k(r,o,p,q,t[b+7],H,1126891415),q=k(q,r,o,p,t[b+14],I,2878612391),p=k(p,q,r,o,t[b+5],J,4237533241),o=k(o,p,q,r,t[b+12],G,1700485571),r=k(r,o,p,q,t[b+3],H,2399980690),q=k(q,r,o,p,t[b+10],I,4293915773),p=k(p,q,r,o,t[b+1],J,2240044497),o=k(o,p,q,r,t[b+8],G,1873313359),r=k(r,o,p,q,t[b+15],H,4264355552),q=k(q,r,o,p,t[b+6],I,2734768916),p=k(p,q,r,o,t[b+13],J,1309151649),o=k(o,p,q,r,t[b+4],G,4149444226),r=k(r,o,p,q,t[b+11],H,3174756917),q=k(q,r,o,p,t[b+2],I,718787259),p=k(p,q,r,o,t[b+9],J,3951481745),o=c(o,d),p=c(p,e),q=c(q,f),r=c(r,g);return s=m(o)+m(p)+m(q)+m(r),s.toLowerCase()}}(utils); |