Post
Topic
Board Service Discussion
Re: GAW / Josh Garza discussion. Paycoin XPY CoinStand Mineral. ALWAYS MAKE MONEY :)
by
vObh0n]6W
on 29/04/2015, 21:05:20 UTC
How to check that the private keys do in fact correspond to the primenode keys

  • Copy the private key. For this example, I'll use the first on the list, which is:
Code:
308201130201010420220731fc229e5023e96afca29487a3506173e57da39653f90f584f642800c9b2a081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a14403420004311cc5333eeadbb3b18f6c70832df159796b1872bfa66bf214030ced65f8a33c4c6b4da48ffebb111a09129b337c9ed5129256995a4fa315fab3b81666cf2bad


  • This is DER-encoded. You can use http://lapo.it/asn1js to decode it. Go there and paste it in. Click decode.
  • Copy the first OCTET STRING. (Note: you could also just copy the first 64 characters after 0420 in the key, but it's easier to plug it in and copy.) Here it is:
Code:
220731FC229E5023E96AFCA29487A3506173E57DA39653F90F584F642800C9B2
  • Go to https://brainwallet.github.io/ and paste it into the Secret Exponent field. You need to select Secret Exponent first. Copy the public key at the bottom (it should start with 04.) In this case, it's
Code:
04311cc5333eeadbb3b18f6c70832df159796b1872bfa66bf214030ced65f8a33c4c6b4da48ffebb111a09129b337c9ed5129256995a4fa315fab3b81666cf2bad
Code:
pubKeyList.push_back("04311cc5333eeadbb3b18f6c70832df159796b1872bfa66bf214030ced65f8a33c4c6b4da48ffebb111a09129b337c9ed5129256995a4fa315fab3b81666cf2bad");

    So the first key matches. You can easily verify the rest yourself.