Bitcoin Forum

Other => Beginners & Help => Topic started by: Crypt0rev on December 03, 2017, 05:59:53 PM



Title: Blockchain addresses
Post by: Crypt0rev on December 03, 2017, 05:59:53 PM
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!


Title: Re: Blockchain addresses
Post by: AdolfinWolf on December 03, 2017, 06:59:24 PM
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.


Title: Re: Blockchain addresses
Post by: Crypt0rev on December 03, 2017, 08:10:33 PM
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.