Replying to Avatar Water Blower

Finally identified the slowest part of encryption decryption in Blowater. It is the pure JS secp256k1 implementation from @noble package. 2ms to get a shared key, which is amazingly slow.

Experimenting with the Rust C wrapper and compile it to wasm.

Avatar
Cody 2y ago

I'm using this package too hahaha

Reply to this note

Please Login to reply.

Discussion

Avatar
Water Blower 2y ago

Will let you know if my optimization works

Avatar
Cody 2y ago

Looking forward to your message

Thread collapsed
Thread collapsed