Post
Topic
Board Development & Technical Discussion
Re: How is a bitcoin address digitally signed?
by
ranochigo
on 29/05/2017, 02:56:47 UTC
I ask because this may be useful if you want the sender to attach a private message to the receiver.
Achow has answered your question on the first part. As to your second part, you can use a public key to encrypt messages but you cannot really include them in your transaction.

Of course, you can encrypt and put the message in the OP_Return of the transaction.