mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
ahh whatever
This commit is contained in:
parent
c57d721be4
commit
31100787ce
|
@ -985,12 +985,12 @@ function up2k_init(subtle) {
|
||||||
|
|
||||||
if (subtle)
|
if (subtle)
|
||||||
subtle.digest('SHA-512', buf).then(hash_done);
|
subtle.digest('SHA-512', buf).then(hash_done);
|
||||||
else {
|
else setTimeout(function () {
|
||||||
var hasher = new asmCrypto.Sha512();
|
var hasher = new asmCrypto.Sha512();
|
||||||
hasher.process(new Uint8Array(buf));
|
hasher.process(new Uint8Array(buf));
|
||||||
hasher.finish();
|
hasher.finish();
|
||||||
hash_done(hasher.result);
|
hash_done(hasher.result);
|
||||||
}
|
}, 1);
|
||||||
};
|
};
|
||||||
|
|
||||||
t.t1 = Date.now();
|
t.t1 = Date.now();
|
||||||
|
|
Loading…
Reference in a new issue