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
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