indutny / elliptic

Fast Elliptic Curve Cryptography in plain javascript
1.68k stars 373 forks source link

is it possible to do assymetric encryption? #223

Open maroodb opened 4 years ago

maroodb commented 4 years ago

I want to know if it is possible to use elliptic to do assymetric encryption

JhonnyJason commented 4 years ago

@maroodb Basicly yes - best look into opengpgjs - https://github.com/openpgpjs/openpgpjs#encrypt-and-decrypt-string-data-with-pgp-keys

They use elliptic where they cannot use the the native versions for the algorithms - I'm trying to make it work that way ;-) will tell if it is successful. Cheers!