// Stanford JavaScript Crypto Library ver. 1.0.8-sha1 (https://github.com/bitwiseshiftleft/sjcl) - special build with only sha1 and codecHex modules "use strict";var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){return"BUG: "+this.message};this.message=a},notReady:function(a){this.toString=function(){return"NOT READY: "+this.message};this.message=a}}}; sjcl.bitArray={bitSlice:function(a,b,c){a=sjcl.bitArray.f(a.slice(b/32),32-(b&31)).slice(1);return void 0===c?a:sjcl.bitArray.clamp(a,c-b)},extract:function(a,b,c){var d=Math.floor(-b-c&31);return((b+c-1^b)&-32?a[b/32|0]<<32-d^a[b/32+1|0]>>>d:a[b/32|0]>>>d)&(1<>b-1,1));return a},partial:function(a,b,c){return 32===a?b:(c?b|0:b<<32-a)+0x10000000000*a},getPartial:function(a){return Math.round(a/0x10000000000)||32},equal:function(a,b){if(sjcl.bitArray.bitLength(a)!==sjcl.bitArray.bitLength(b))return!1;var c=0,d;for(d=0;d>>b),c=a[e]<<32-b;e=a.length?a[a.length-1]:0;a=sjcl.bitArray.getPartial(e);d.push(sjcl.bitArray.partial(b+a&31,32>>24|c>>>8&0xff00|(c&0xff00)<<8|c<<24;return a}}; sjcl.codec.utf8String={fromBits:function(a){var b="",c=sjcl.bitArray.bitLength(a),d,e;for(d=0;d>>8>>>8>>>8),e<<=8;return decodeURIComponent(escape(b))},toBits:function(a){a=unescape(encodeURIComponent(a));var b=[],c,d=0;for(c=0;cc;c++)l[c]=b[c];else l=b;e=f[0];g=f[1];h=f[2];k=f[3];m=f[4];for(c=0;79>=c;c++)16<=c&&(d=l[c-3]^l[c-8]^l[c-14]^l[c-16],l[c]=d<<1|d>>>31),d=19>=c?g&h|~g&k:39>=c?g^h^k:59>=c?g&h|g&k|h&k:79>=c?g^h^k:void 0,d=(e<<5|e>>>27)+d+m+l[c]+a.h[Math.floor(c/20)]|0,m=k,k=h,h=g<<30|g>>>2,g=e,e=d;f[0]=f[0]+e|0;f[1]=f[1]+g|0;f[2]=f[2]+h|0;f[3]=f[3]+k|0;f[4]=f[4]+m|0} "undefined"!==typeof module&&module.exports&&(module.exports=sjcl);"function"===typeof define&&define([],function(){return sjcl});