Friday, October 6, 2017

Bitcoin is a crypto number,

What is crypto?
From long time a go secret and information was the power. So Caesar transmitted information around Roman imperium with crypto messages . The  Caesar code is very simple he move 3 characters forward for example A + 3 = D, B+3=E, C+3=F and so on.A-->D.
so if I want to write ABC with Caesar code I write this.  DEF, I encrypt the word with Caesar code.
The word BITCOIN encrypted with Caesar Code will be ELWFRLQ .
Because now people is smarter then 2000 years a go they use different code to encrypt numbers or letters one of them is sha 256 and ripemid 160 use it in Bitcoin Network.
Let s remember from last post.

 private key * G = Public Key.but any multiplication is an add operation and every division is a repeted substraction we can write

G+G+G+G+ ..........(private key number tines)G=Public Key.
so the private key corespondending with number 2 is equal 2G. G+G
Public Key for number 3 is 3G. G+G+G and so on. Nothing else then addition of 2 geometric point in plane. But don`t forgot every math operation is making in modulo p.
For addition of  2 geometric points in plane we have a simple formula.
P1(X1,Y1) + P2 (X2,Y2). = P3(X3,Y3)

Let s get the slope between P1 and P2 and call it slope.
slope = Y1-Y2 / X1-X2  
So  X3 = slope to power 2 - (X1+X2)
      Y3= slope ( X1-X3) - Y1

ALL operation is making in modulo p
and so on we can add point to point. We have constant G the generator point and from the private key what number is 2 we can add n times G to get the Public Key suitable to Private key n..
Is also very intersted part, because bitcoin managers said the point have to respect eliptic curve equation Y to power 2 = X to power 3 + 7 modulo p  and is true all the point respect this condition. Even if we use it to control or not with the eliptic curve formula you can add G n times and get the Public Key.
The total numbers of private keys of bitcoin is  115792089237316195423570985008687907852837564279074904382605163141518161494336
and the total number of Bitcoin addresses is the above number multiplicated with 2.
 231584178474632390847141970017375815705675128558149808765210326283036322988672 Total Bitcoin Addresses.
Why is more Addresses then Private keys?
Because  each private key have 2 Bitcoin Address.
One is Called Compresed Bitcoin Address and another one is calling Uncompresed Bitcoin Address.
The Compressed Bitcoin Address is an encryption of  X coordonate of a Public Key, and  Uncompresed Address is an encryption of  both coordonate X and Y of geometric point Public Key Bitcoin which corresponds with a random private key from first huge above number.

Next post you will know more about encryption. Public Key to Address. Hope you understand.
Any Questions in Comments.
 
.






Bitcoin is just a Number.

Sounds strange but that is. All is around numbers, and rules. Our existence is all about numbers and rules, so is Bitcoin,.
I try to figure here very simple what is Bitcoin and how you can make your own address. very easy. and send it to the network.
Let`s start with number 1. Our computer generate a random number between 1 and a very huge number 115792089237316195423570985008687907852837564279074904382605163141518161494336 maximum. for example number 1. Is possible! let s my computer can generate just number 1 like a random number.
This number is private key. For example my private key is number 1. OK.
This is the begin of bitcon math because this private key have a Public Key. What name it Generator point, G. Every number between 1 and the big number above can be a private key. Be sure about that. Every address of bitcoin what you have is compounding from one number in the interval above,.
That random  number, I mean  the private key,.is compounding with a simple math ecuation in a Public key, what is normaly the bitcoin address. You don`t have to work to NSA or CIA or to MIT to can understand this ecuations.
All operation is doing one way I mean you can obtain the Public Key from Private key but you can not return with a easy formula from Public Key back to Private key.
Let s call the private key of bitcoin each number from above interval.
Every private key have a Corespondending Public Key. What is Compounding from 1 geometrical point X and Y.  in a plane. For example the private key 1 have the public key
X = 55066263022277343669578718895168534326250603453777594175500187360389116729240
Y = 32670510020758816978083085130507043184471273380659243275938904335757337482424

The Generator Point G is G(X,Y) is coresponding for private key 1..
Formula to get Public Key is : private key x G = Public Key.,
But attention is a number multiply with a geometric plane point X and Y coordinate, so this is not so easy to do because all math is doing in modulo p =115792089237316195423570985008687907853269984665640564039457584007908834671663
I write more in next post, very interested the first 3 addresses I mean the private key 1 and 2 and 3 was generated in 1970.
PS.
What is  modulo. Think about  your clock shows you 12 hours not more. If you say is 17 and 15 minutes, is mean you say is 5 pm and 15 min modulo 12.
This blog is for all peoples, if you think you are smarter then others dont`t show it here just prouve it.