Bitcoin Forum
November 11, 2024, 05:54:25 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I create a cypher using a Bitcoin public key?  (Read 598 times)
Elwar (OP)
Legendary
*
Offline Offline

Activity: 3598
Merit: 2386


Viva Ut Vivas


View Profile WWW
November 17, 2013, 08:45:58 AM
 #1

I need to create a cypher of some data and I would like to use a Bitcoin public key to encrypt it with its corresponding private key to decrypt it.

I am doing this in Java and looking at the Cypher class I see RSA and other keys but I doubt they can be used with Bitcoin addresses.

Is there an easy way to do this or some sample java code I could use?

Am I correct in the belief that creating a cypher of data with a public key is different from the bitcoin client's creation of signing a message?

First seastead company actually selling sea homes: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!