Would it be possible to do the following?
Suppose I have address A and address B and i want to encrypt a text message
so it can be read by address B without sending this text in transaction on the blockchain so without
using the blockchain at all.
Which of the functions would I need to use from here:
I have seen there are a functions (encrypt, decrypt, encode, decode)
This encode / decode seems what am looking for or I am wrong?
If i need to use this then I need the sender or receiver public keys.
If this is the case how can I derive a public key from an address?