What is Nostr?
Moon /
npub1m00…qmdu
2023-03-01 18:08:19
in reply to nevent1q…xnct

Moon on Nostr: i believe iris has to do its elliptic curve calculations in pure javascript because ...

i believe iris has to do its elliptic curve calculations in pure javascript because there aren't accelerated crypto api for its particular implementation. a bunch of operations are done in a service worker in the background. if it were done in the foreground it would constantly be halting the main thread to do that calculation. I hasd similar issues years ago coding ethereum web3 stuff and had to solve it the same way, move a bunch of stuff to a worker thread in the background
Author Public Key
npub1m00nspccwkghyvt4xdxwv2xtrgfeluwf3smeqccwj8pccdpj54uq7fqmdu