I would like a valid Bitcoin address (derived from a private key created by rolling a pair of hexadecimal dice 32 times) to be the private key of any private / public cryptography. So if I encrypt a message with this public key, I can then decrypt the same message with the Bitcoin address. Is this possible?
closed as unclear what you're asking by Squeamish Ossifrage, AleksanderRas, kelalaka, fgrieu, forest Aug 29 at 11:41
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Yes, why would it not be possible?
You could, for instance, use the hybrid ECIES scheme to do this. ECIES employs ECDH to derive a symmetric key to encrypt / decrypt. The ECDSA and ECDH keys are fortunately identical, so performing ECIES with the BitCoin key pair should not pose a problem.
In the Bitcoin scheme it is possible to derive the public key again from the signature, if I'm not mistaken, but there is nothing preventing you from deriving the same public key directly from the private key and storing it elsewhere.
So that takes care of the technicalities. However, generally you should try and avoid reusing the same key (pair) for multiple purposes, if just to avoid exposure of the private key. Key management quickly becomes a nightmare when keys are reused.
For more information about the security, see this answer from poncho. If it makes poncho nervous it should definitely make you nervous as well.