Bitcoin Forum
May 27, 2024, 09:34:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain addresses  (Read 160 times)
Crypt0rev (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 03, 2017, 05:59:53 PM
 #1

Hello guys! I'm a little bit confuse with undestanding blockchain addresses at all. So, the question is: what is the derivative? Is the private key the derivative from public key? Or vice versa? For example, in terms of bitcoin blockchain and ethereum blockchain. Beforehand, thanks guys for your help!
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
December 03, 2017, 06:59:24 PM
 #2

Hello guys! I'm a little bit confuse with undestanding blockchain addresses at all. So, the question is: what is the derivative? Is the private key the derivative from public key? Or vice versa? For example, in terms of bitcoin blockchain and ethereum blockchain. Beforehand, thanks guys for your help!

No, a public key is "derived" from a private key.


The following formula is used to get the corresponding public key for a private key -
Quote
Take the corresponding public key generated with it (65 bytes, 1 byte 0x04, 32 bytes corresponding to X coordinate, 32 bytes corresponding to Y coordinate)
Code:
Public_K=G Private_K=(x,y)

An adress however, is generated from the public key, see https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses  for the complete guide on how to create an adress from the public key.

Crypt0rev (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 03, 2017, 08:10:33 PM
 #3

Hello guys! I'm a little bit confuse with undestanding blockchain addresses at all. So, the question is: what is the derivative? Is the private key the derivative from public key? Or vice versa? For example, in terms of bitcoin blockchain and ethereum blockchain. Beforehand, thanks guys for your help!

No, a public key is "derived" from a private key.


The following formula is used to get the corresponding public key for a private key -
Quote
Take the corresponding public key generated with it (65 bytes, 1 byte 0x04, 32 bytes corresponding to X coordinate, 32 bytes corresponding to Y coordinate)
Code:
Public_K=G Private_K=(x,y)

An adress however, is generated from the public key, see https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses  for the complete guide on how to create an adress from the public key.
Thank you, now it is a little bit clearer.
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!