<<  >> (p.2)
    Author Topic: OFF TOPIC  (Read 1665 times)
    MrFreeDragon
    Sr. Member
    ****
    Offline Offline

    Activity: 443
    Merit: 350


    View Profile
    June 05, 2020, 09:24:19 PM
     #21

    -snip-
    My question is : why 13 = 8 + 4 +1 ? is 4 + 4 + 4 + 1 give the same result or must there be a certain rule ?
    Not sure and i can't retreive the post but it seem i read something with the private key in it's binary form ?
    -snip-

    Your example with 13 will give the same result. You can also calculate 13 as 1 + 1 + 1 + 1 + ... + 1 + 1 (13 times), but here you should perform 12 additions.

    As for the private key in binary form - I made a tool to play with binary numbers: https://bt.irlbtc.com/view/5187401
    That tool is very nice for learning purposes. And also good to create real wallets if you use physical coin for your random entropy source.

    Every binary number could be represented as c255*2^255 + c254*2^254 + c253*2^253 + ... + c3*2^3 + c2^2 + c1*2 + c0, where coefficients c0, c1, c2, ... c254, c255 represent bit values (1 or 0). It is actually your binary number.
    So in order to calculate public keys for various large binary numbers you can easily make the pre-calculations of 256 public keys for numbers 1, 2, 2^2, 2^3, 2^4, 2^5, ... 2^254, 2^255 and later just make up to 255 additions between pre-calculated public keys.

Page 1
Viewing Page: 2