HiddenEye-Legacy/WebPages/origin/SIGN IN_files/sha.js

1 line
12 KiB
JavaScript
Raw Normal View History

2019-04-21 18:08:25 +08:00
(function(){var w=8,G="",C=0,x=function(K,J){this.highOrder=K;this.lowOrder=J},E=function(L){var J=[],K=(1<<w)-1,N=L.length*w,M;for(M=0;M<N;M+=w){J[M>>5]|=(L.charCodeAt(M/w)&K)<<(32-w-(M%32))}return J},a=function(K){var J=[],N=K.length,M,L;for(M=0;M<N;M+=2){L=parseInt(K.substr(M,2),16);if(!isNaN(L)){J[M>>3]|=L<<(24-(4*(M%8)))}else{return"INVALID HEX STRING"}}return J},n=function(K){var J=(C)?"0123456789ABCDEF":"0123456789abcdef",O="",N=K.length*4,M,L;for(M=0;M<N;M+=1){L=K[M>>2]>>((3-(M%4))*8);O+=J.charAt((L>>4)&15)+J.charAt(L&15)}return O},o=function(K){var J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P="",N=K.length*4,M,L,O;for(M=0;M<N;M+=3){O=(((K[M>>2]>>8*(3-M%4))&255)<<16)|(((K[M+1>>2]>>8*(3-(M+1)%4))&255)<<8)|((K[M+2>>2]>>8*(3-(M+2)%4))&255);for(L=0;L<4;L+=1){if(M*8+L*6<=K.length*32){P+=J.charAt((O>>6*(3-L))&63)}else{P+=G}}}return P},i=function(J,K){return(J<<K)|(J>>>(32-K))},g=function(J,K){return(J>>>K)|(J<<(32-K))},f=function(J,K){if(K<=32){return new x((J.highOrder>>>K)|(J.lowOrder<<(32-K)),(J.lowOrder>>>K)|(J.highOrder<<(32-K)))}else{return new x((J.lowOrder>>>K)|(J.highOrder<<(32-K)),(J.highOrder>>>K)|(J.lowOrder<<(32-K)))}},d=function(J,K){return J>>>K},b=function(J,K){if(K<=32){return new x(J.highOrder>>>K,J.lowOrder>>>K|(J.highOrder<<(32-K)))}else{return new x(0,J.highOrder<<(32-K))}},v=function(J,L,K){return J^L^K},m=function(J,L,K){return(J&L)^(~J&K)},l=function(J,L,K){return new x((J.highOrder&L.highOrder)^(~J.highOrder&K.highOrder),(J.lowOrder&L.lowOrder)^(~J.lowOrder&K.lowOrder))},F=function(J,L,K){return(J&L)^(J&K)^(L&K)},D=function(J,L,K){return new x((J.highOrder&L.highOrder)^(J.highOrder&K.highOrder)^(L.highOrder&K.highOrder),(J.lowOrder&L.lowOrder)^(J.lowOrder&K.lowOrder)^(L.lowOrder&K.lowOrder))},B=function(J){return g(J,2)^g(J,13)^g(J,22)},z=function(J){var K=f(J,28),M=f(J,34),L=f(J,39);return new x(K.highOrder^M.highOrder^L.highOrder,K.lowOrder^M.lowOrder^L.lowOrder)},I=function(J){return g(J,6)^g(J,11)^g(J,25)},H=function(K){var L=f(K,14),J=f(K,18),M=f(K,41);return new x(L.highOrder^J.highOrder^M.highOrder,L.lowOrder^J.lowOrder^M.lowOrder)},u=function(J){return g(J,7)^g(J,18)^d(J,3)},t=function(J){var K=f(J,1),L=f(J,8),M=b(J,7);return new x(K.highOrder^L.highOrder^M.highOrder,K.lowOrder^L.lowOrder^M.lowOrder)},A=function(J){return g(J,17)^g(J,19)^d(J,10)},y=function(J){var K=f(J,19),M=f(J,61),L=b(J,6);return new x(K.highOrder^M.highOrder^L.highOrder,K.lowOrder^M.lowOrder^L.lowOrder)},s=function(J,M){var K=(J&65535)+(M&65535),L=(J>>>16)+(M>>>16)+(K>>>16);return((L&65535)<<16)|(K&65535)},r=function(K,J,O,N){var M=(K&65535)+(J&65535)+(O&65535)+(N&65535),L=(K>>>16)+(J>>>16)+(O>>>16)+(N>>>16)+(M>>>16);return((L&65535)<<16)|(M&65535)},q=function(K,J,P,O,N){var M=(K&65535)+(J&65535)+(P&65535)+(O&65535)+(N&65535),L=(K>>>16)+(J>>>16)+(P>>>16)+(O>>>16)+(N>>>16)+(M>>>16);return((L&65535)<<16)|(M&65535)},h=function(J,O){var K,L,N,M;K=(J.lowOrder&65535)+(O.lowOrder&65535);L=(J.lowOrder>>>16)+(O.lowOrder>>>16)+(K>>>16);N=((L&65535)<<16)|(K&65535);K=(J.highOrder&65535)+(O.highOrder&65535)+(L>>>16);L=(J.highOrder>>>16)+(O.highOrder>>>16)+(K>>>16);M=((L&65535)<<16)|(K&65535);return new x(M,N)},e=function(K,J,Q,P){var N,L,O,M;N=(K.lowOrder&65535)+(J.lowOrder&65535)+(Q.lowOrder&65535)+(P.lowOrder&65535);L=(K.lowOrder>>>16)+(J.lowOrder>>>16)+(Q.lowOrder>>>16)+(P.lowOrder>>>16)+(N>>>16);O=((L&65535)<<16)|(N&65535);N=(K.highOrder&65535)+(J.highOrder&65535)+(Q.highOrder&65535)+(P.highOrder&65535)+(L>>>16);L=(K.highOrder>>>16)+(J.highOrder>>>16)+(Q.highOrder>>>16)+(P.highOrder>>>16)+(N>>>16);M=((L&65535)<<16)|(N&65535);return new x(M,O)},c=function(Q,P,O,N,M){var L,K,J,R;L=(Q.lowOrder&65535)+(P.lowOrder&65535)+(O.lowOrder&65535)+(N.lowOrder&65535)+(M.lowOrder&65535);K=(Q.lowOrder>>>16)+(P.lowOrder>>>16)+(O.lowOrder>>>16)+(N.lowOrder>>>16)+(M.lowOrder>>>16)+(L>>>16);J=((K&65535)<<16)|(L&65535);L=(Q.highOrder&65535)+(P.highOrder&65535)+(O.highOrder&65535)+(N.highOrder&65535)+(M.highOrder&65535)+(K>>>16);K=(Q.highOrder>>>16)+(P.highOrder>>>16)+(O.highOrder>>>16)+(N.highOrder>>>16)+(M.highOrder>>