Bitcoin Forum
August 02, 2024, 09:03:52 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can one get the corresponding public key of a Bitcoin address?  (Read 456 times)
lijunbc (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 14, 2013, 03:36:25 PM
 #1

When someone send payment from address A to address B,

1. Will the transaction information includes publicKey for address A and be signed by the corresponding private Key?
2. Can transaction info include something secret for the receipt, that is, encrypted by the publicKey of address B?

My puzzle is that since the public key cannot derived from the address (hashing is irreversible), how one can find the corresponding public key for an address?

Thanks,
DannyHamilton
Legendary
*
Offline Offline

Activity: 3472
Merit: 4763



View Profile
February 14, 2013, 03:45:04 PM
 #2

When someone send payment from address A to address B,

1. Will the transaction information includes publicKey for address A and be signed by the corresponding private Key?

Yes. This is how bitcoin works.

2. Can transaction info include something secret for the receipt, that is, encrypted by the publicKey of address B?
The sender does not have the public key of address B. I suppose if the owner of address B supplies you with their public key, then this would be possible.
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!