Post
Topic
Board Games and rounds
Re: Bitcoin Cipher/puzzle - 0.56 Prize ! Bitcoins
by
HugoTheSpider
on 12/08/2015, 18:40:27 UTC
Also, what program did you use to test the private keys?
I was using a self made program which directly loads the OpenSSL library and does (simplified pseudocode):
Code:
function tryBreak(start) {
  trial = EC_POINT_MUL(G, start)
  for i = 0 to 5817656405 { //This is just for showing how it works - I did some optimization of course (eg. checking many private keys at once)
    if ripemd160(sha256(trial)) = "7d1646c1d03dcaad05ffaf3d05590a87a957c352" {
      alert("Key found! " + trial)
      break
    }
    trial = EC_POINT_ADD(trial, G)
  }
}
thread[0] = new Thread(
  @tryBreak(base58toHexIgnoreChecksum("5Juu22CkB3EAaBpEcyH9dypNhDN8fZgh6Rqwwbo511111111111"))
)
thread[1] = new Thread(
  @tryBreak(base58toHexIgnoreChecksum("5Juu22CkB3NAaBpEcyH9dypNhDN8fZgh6Rqwwbo511111111111"))
)
...

edit: corrected major error in pseudocode -- @ 19:53 UTC