AbdelbakiBoukerche / rsa_encrypt

rsa encrypt package
MIT License
17 stars 16 forks source link

How can i decrypt by public_key and encrypt by private_key? #15

Open nicktan28 opened 3 years ago

osamagamal65 commented 3 years ago

How do I achieve this? const encrypted = await EthCrypto.encryptWithPublicKey( publicKey, // encrypt with alice's publicKey JSON.stringify(data) ); this is a javascript npm package, it has a very clear naming c https://www.npmjs.com/package/eth-crypto