Bitcoin Forum
June 08, 2024, 12:05:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Encrypt data with wallet address  (Read 591 times)
QuantumDoja (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
September 17, 2012, 05:30:47 PM
 #1

Hi,

Would it be possible to encrypt some data using a wallet address as the public key, then only the owner of the wallet could decrypt the data?

Thanks
ForeverAnony
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
September 17, 2012, 06:41:22 PM
 #2

open gpa or whatever encryption client
use someone's pub key
click that pub key, click clipboard
write in your bitcoin address
click encrypt


you now encrypted your btc address using someone else's pub key that only they can decrypt
Once they decrypted, they will see the btc address only.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
September 17, 2012, 07:39:50 PM
 #3

Would it be possible to encrypt some data using a wallet address as the public key, then only the owner of the wallet could decrypt the data?

A public key needs to be communicated but there are no methods where a bitcoin address (just a derivative of the private key) works as the public key for encrypting a message.

If Bitcoin had a payment request protocol, the public key could be communicated through that.

This is discussed here:


Quote
19:31   gavinandresen   gmaxwell: I'd like it to be generic enough that lots of interesting applications can be built, like private messages between sender and receiver.
19:31   gavinandresen   gmaxwell: ... and I think those interesting applications CAN be built if we can get an immutable hash attached to a transaction, as jgarzik says
19:33   gavinandresen   (e.g. private message from receiver back to sender can easily be done if the metadata includes my public gpg key and, maybe, my email address)
19:33   gavinandresen   (private message the other way can be done if we've got a payment protocol so I get the recipients public key, etc etc)
19:33   gmaxwell   gavinandresen: That doesn't work unless you have a cannel to get the metadata to the other end. If you have that you can just send the same metadata signed with the scriptsig's keys.
19:34   gavinandresen   gmaxwell: hmm? gpg key plus email address is enough to send me a private message.
19:34   gavinandresen   gmaxwell: encrypt that bit of metadata with the recipient's public key and that opens up secure, private communication
19:35   gmaxwell   You don't have the recipents public key, not with any existing address type.
19:35   gavinandresen   right, I agree we need a payment protocol.
- http://bitcoinstats.com/irc/bitcoin-dev/logs/2012/09/10#l4463898

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


btctrade5500
Newbie
*
Offline Offline

Activity: 6
Merit: 0



View Profile
September 18, 2012, 02:43:50 AM
 #4

I'm afraid you're confusing PGP and a wallet address which have both public keys.  Encrypting a message by PGP, requires the PGP Public Key of the person you're sending the message to. The wallet address of the other person which is the wallet Public key, cannot be used as PGP Public key for sending messages. Ask the other person, if he knows PGP. If he does, then most likely he has a PGP Public key. Ask him to give it to you and encrypt to it using OpenPGP, or other PGP tools.

Hi,

Would it be possible to encrypt some data using a wallet address as the public key, then only the owner of the wallet could decrypt the data?

Thanks
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!