!function(){var t={59202:function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(256),n=0;n>2],o+=t[(3&n[r])<<4|n[r+1]>>4],o+=t[(15&n[r+1])<<2|n[r+2]>>6],o+=t[63&n[r+2]];return a%3==2?o=o.substring(0,o.length-1)+"=":a%3==1&&(o=o.substring(0,o.length-2)+"=="),o},e.J=function(t){var e,n,a,o,s,i=.75*t.length,c=t.length,h=0;"="===t[t.length-1]&&(i--,"="===t[t.length-2]&&i--);var u=new ArrayBuffer(i),l=new Uint8Array(u);for(e=0;e>4,l[h++]=(15&a)<<4|o>>2,l[h++]=(3&o)<<6|63&s;return u}}()}},e={};function r(n){var a=e[n];if(void 0!==a)return a.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}!function(){"use strict";var t=r(59202);onmessage=async e=>{try{const r={name:"PBKDF2",hash:"SHA-384",iterations:2e5,salt:t.J(e.data.salt)},n=(new TextEncoder).encode(e.data.password),a=Date.now(),o=await crypto.subtle.importKey("raw",n,r,!1,["deriveKey"]),s=await crypto.subtle.deriveKey(r,o,{name:"HMAC",hash:"SHA-384"},!0,["sign"]),i=await crypto.subtle.exportKey("raw",s),c=Date.now();console.log(`worker: finished ${r.iterations} iterations in ${c-a}ms`),postMessage({clientHash:t.c(i)},void 0)}catch(e){console.error(e)}}}()}(); //# sourceMappingURL=3639.e36ee23a34b24dcfc7ad.js.map