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