Is it possible to encrypt a message so that only a certain address owner can read it?
I guess there are two parts of the questions.
1. I may not know the public key from the address because address is hash of public key.
From my understanding, the public key wouldn't be revealed until they have made a transaction.
If I do not have the public key of the recipient, I guess I cannot do anything about it.
2. Let's say I do have the public key of the recipient address. Could I then encrypt the message with the public key such that only the private key owner can read it?
Assuming that the address owner has revealed the public key in order to make a transaction, then we can find the public key from blockchain. With this assumption, then we should be able to do this?