Hi,
I'm planning to send a short encrypted message using txn metadata in a way that only the intended recipient is able to decrypt it (message is encrypted using the recipient's public key). My questions related to this are:
- Can I use the public key of the recipient's wallet for enryption? If yes, how? As far as I know it is not recommended to use one private/public key pair for multiple purposes (such as encryption AND signature) but please share your views on this.
- If I plan to use a separate key pair for enryption, can I store securely the additional private key somehow in the wallet?
Thanks a lot,
Miklos