paulmillr / noble-curves

Audited & minimal JS implementation of elliptic curve cryptography.
https://paulmillr.com/noble
MIT License
623 stars 56 forks source link

Encrypt/Decrypt Functionality? #34

Closed Srayman closed 1 year ago

Srayman commented 1 year ago

First, I want to mention this repository is great! It helped improve the performance of sign/verify using p256 compared to another library we were using.

I wanted to ask if you have any plans to implement encrypt and decrypt methods?

We are using ecies-25519 for encrypt/decrypt with ed25519 and the performance is good. However for p256 and secp256k1 the performance is quite a bit slower in the libraries we are using and are looking at alternatives.

paulmillr commented 1 year ago

There are no plans in adding any encryption functionality to the library, which is limited to elliptic curve stuff.

It would be great to have, but in a different library.