Author

Topic: 0.1 BTC for python help! (Read 990 times)

copper member
Activity: 1330
Merit: 899
🖤😏
April 17, 2023, 10:21:02 PM
#58
I was looking for because BTC was placed on a strategic location. Enjoy your puzzle solving!
Strategic location was lost till yesterday! I mean you are a terrible strategist , lol.

Enjoy your puzzle solving!
We will because that's the idea!


To everyone here, when someone offers imaginary money, just control your drooling and demand evidence of funds, specially for strangers.
newbie
Activity: 19
Merit: 1
April 15, 2023, 11:38:06 PM
#57
Great NEWS!!!!!
I found my rouge BTC. A simple list of collisions made things quite manageable, which was exactly I was looking for because BTC was placed on a strategic location. I thank all of you guys for your suggestions as well as criticism. All I say here is that, things won't always be the same! Elliptic Curve encryption system will soon be redundant! Enjoy your puzzle solving!

Congrats! but come on tell me the truth, you found it with the help of the forum and you regretted giving rewards, Lol.
sr. member
Activity: 1190
Merit: 469
April 15, 2023, 11:26:44 PM
#56
OP is full of shit. Wasting our time asking for help for his stupid elliptic curve fail and then proclaiming the end of elliptic curve.

he'll probably be posting about his new quantum computer soon. watch out  Shocked problem is, his quantum computer will probably not have any error correction so the results will be wildly off.
legendary
Activity: 3472
Merit: 10611
April 15, 2023, 10:05:34 PM
#55
1 billion public key is a 130 GB text document, you just need a lot of RAM to load it all or split it into several txt documents
It depends on how you store it and how you use it.

For example it could be stored as binary (instead of hex in a text file) and in its compressed form. That is 33 byte per pubkey and a billion of them makes it a 33 GB file (65 GB for uncompressed).

As for usage of this data, you don't need to load it all in memory. You could use a database and/or sort the list in a way that would make it faster to search using methods such as binary search, etc.
jr. member
Activity: 47
Merit: 12
gmaxwell creator of 1000 BTC puzzl + Pinapple fund
April 15, 2023, 09:05:12 PM
#54
OP is full of shit. Wasting our time asking for help for his stupid elliptic curve fail and then proclaiming the end of elliptic curve.
sr. member
Activity: 1190
Merit: 469
April 15, 2023, 06:33:57 PM
#53
Great NEWS!!!!!
you decided to start backing up your funded bitcoin addresses?

Quote
Elliptic Curve encryption system will soon be redundant! 
how did you figure that?  Shocked
newbie
Activity: 18
Merit: 1
April 15, 2023, 03:47:56 AM
#52
Great NEWS!!!!!
I found my rouge BTC. A simple list of collisions made things quite manageable, which was exactly I was looking for because BTC was placed on a strategic location. I thank all of you guys for your suggestions as well as criticism. All I say here is that, things won't always be the same! Elliptic Curve encryption system will soon be redundant! Enjoy your puzzle solving!
sr. member
Activity: 1190
Merit: 469
April 14, 2023, 06:27:25 PM
#51
Quote from:  Unplugged Taste
I am still working on this thing by putting another BTC and moving forward with my research.
what exactly is the purpose of the research? to figure out ways to generate a private key that is complicated? A private key is just a number. Whether you get it by doing a single operation or a million trillion operations doesn't make that number any more secure. Lips sealed

Quote
I am simply a victim of untoward incident like a flood, a tornado, or lightening or house on fire or robbery etc we have little to no control over it.

That's not how I see it but whatever.  If you have a funded address then that particular private key needs to be backed up.

member
Activity: 182
Merit: 35
STRAIGHT FORWARD
April 14, 2023, 02:06:12 PM
#50
years ago I believe that I saw NotATether helped someone to maintain something like this. I think that the best thing to do would be handling your files to someone here that is trusted and let him work on the recovery.

Other option you can try; https://www.walletrecoveryservices.com/

I don't know him, didn't try him but was mentioned through trusted member here that I don't remember who
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
April 14, 2023, 02:00:18 PM
#49
Those who think I was dumb making 1 billion keys are also wrong. 1 billion is what is left in USB Drive, however originally they were 1trillion.
That's 66 TB. Must be a nice USB disk Roll Eyes

Quote
I am still working on this thing by putting another BTC and moving forward with my research.
Lol. That's literally the best way to describe what you're doing.

Quote
I am simply a victim of untoward incident like a flood, a tornado, or lightening or house on fire or robbery etc we have little to no control over it.
It's more like you threw your money in the fire place yourself. All of this could have been prevented if you didn't try to invent your own private key creation, but it looks like you haven't learned from it. I suggest this title for your next topic: "I lost 1 BTC again".
newbie
Activity: 18
Merit: 1
April 14, 2023, 01:02:40 PM
#48
If someone has any doubt or suspicions about what I am saying, they can simply leave, no big deal. I am not here to somehow skim or exploit anyone's programming capabilities, don't judge me. I will explicitly appreciate anyone's genuine help & reward accordingly. Those who think I was dumb making 1 billion keys are also wrong. 1 billion is what is left in USB Drive, however originally they were 1trillion. The reason I am not exposing my scheme is that I am still working on this thing by putting another BTC and moving forward with my research. I don't have any GPU neither want one & I am also not interested in 125 BTC puzzle rest assured. I am simply a victim of untoward incident like a flood, a tornado, or lightening or house on fire or robbery etc we have little to no control over it. you can call it dumb or whatever you like.
legendary
Activity: 3472
Merit: 10611
April 14, 2023, 06:22:08 AM
#47
Read it again Wink
Oh. I always automatically assume that the coins someone has is received from a third party (no access to that address). Tongue

Quote
I usually take rewards from Newbies with a grain of salt. Sometimes it's real, sometimes it isn't.
Yeah, They receive the same level of help regardless of the "offer".
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
April 14, 2023, 05:43:16 AM
#46
if OP shares the address and signs a message from the address that funded it, there's no longer a reason to doubt his story.
If OP could sign message from that address he wouldn't have been here since signing a message requires having the private key Tongue
Read it again Wink

Quote
Although if you want to not-doubt his story OP could share the public key + address. Considering that hashes inside addresses are not reversible to get the public key, the chances of it being a fake story diminishes significantly.
That will work too, but I guess OP doesn't want to share the public key. Sharing the address reveals less.

Quote
Although if you want the "reward" none of the above would help, you'd need to use an escrow Wink
I usually take rewards from Newbies with a grain of salt. Sometimes it's real, sometimes it isn't.
legendary
Activity: 3472
Merit: 10611
April 14, 2023, 05:33:12 AM
#45
And is it only me finding this suspicious? I wonder where is the address containing 1 btc? Because it has no out going tx, we can't find it's public key and steal the coin if that's what OP is afraid of. So where is the address in question?
The address is irrelevant, although if OP shares the address and signs a message from the address that funded it, there's no longer a reason to doubt his story.
If OP could sign message from that address he wouldn't have been here since signing a message requires having the private key Tongue
Although if you want to not-doubt his story OP could share the public key + address. Considering that hashes inside addresses are not reversible to get the public key, the chances of it being a fake story diminishes significantly.
Although if you want the "reward" none of the above would help, you'd need to use an escrow Wink
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
April 14, 2023, 04:37:59 AM
#44
And is it only me finding this suspicious? I wonder where is the address containing 1 btc? Because it has no out going tx, we can't find it's public key and steal the coin if that's what OP is afraid of. So where is the address in question?
The address is irrelevant, although if OP shares the address and signs a message from the address that funded it, there's no longer a reason to doubt his story.

maybe not suspicious but i find it strange why someone would need to generate 1 billion private keys if they are only going to use one of them. doesn't make any sense.
If it's true, OP made a very dumb mistake (but I'm sure he knows that already). Don't try to reinvent how to create private keys, it will increase the risk of losing your funds.

@Unplugged Taste: I get that you don't want to share the range, but can you at least share how large the range is? That should give a decent idea whether or not it's doable to reproduce one of the addresses.
sr. member
Activity: 1190
Merit: 469
April 13, 2023, 10:21:29 PM
#43
And is it only me finding this suspicious?
maybe not suspicious but i find it strange why someone would need to generate 1 billion private keys if they are only going to use one of them. doesn't make any sense.

Quote
I wonder where is the address containing 1 btc? Because it has no out going tx, we can't find it's public key and steal the coin if that's what OP is afraid of. So where is the address in question?
good question.
member
Activity: 122
Merit: 37
April 13, 2023, 08:28:29 PM
#42
By "it worked" I meant that the script worked. It says I have to wait 1.7 million year before it actually finds the key.

Then your range must have been quite large or you have input it incorrectly.

This is one occasion where I would suggest you DO NOT publish your public keys. Instead, for those who keep asking "where is the btc" use this

https://iancoleman.io/bitcoin-key-compression/
(note there are malicious versions of this site so make sure you use the legit one)

Input the public key. it will produce two addresses compressed and uncompressed.
These you can safely publish and if there is any btc in them people can look up with this
https://www.blockchain.com/explorer

or similar.
copper member
Activity: 1330
Merit: 899
🖤😏
April 13, 2023, 05:52:37 PM
#41
And is it only me finding this suspicious? I wonder where is the address containing 1 btc? Because it has no out going tx, we can't find it's public key and steal the coin if that's what OP is afraid of. So where is the address in question?
member
Activity: 873
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
April 13, 2023, 04:20:19 PM
#40
still dont know what the author wants..

@Unplugged Taste
tell us, do you know the public key of the address containing 1 BTC or not ??

from your posts i believe you dont know which public key is the correct one....

i posted on the first page a script that converts all the public keys you have into addresses and compares them to the address containing your money.
it will return only the address and it's public key

IF you already know the public key of the address why would you need to check all the public keys at once??
I will write an example, we will take 125 original public key puzzles and generate 1 billion keys from them, then just crack one single public key out of billion public keys, you will get a private key in the form of numbers and according to it you can calculate the private key for 125


there is vinner of your 0.1 BTC ?
newbie
Activity: 19
Merit: 1
April 13, 2023, 04:20:05 PM
#39
Let's see if I understand


possibility #1


you generated 1000m of keys with intervals of 1m between each 1
1000095 to 1000000095

1000095
1000000095


in
hex

00000000000000000000000000000000000000000000000000000000000f429f
000000000000000000000000000000000000000000000000000000003b9aca5f



you put 1btc in any of them

you lost the private key

You know the address, the public key, and the range so finding it will only take minutes.



if the range is in hex
use

download repo
https://github.com/WanderingPhilosopher/KeyHuntCudaClient

open x64 folder

open console in folder

paste

with GPU

KeyHunt-Cuda.exe -t 0 -g --gpui 0 --gpux 256,256 -m xpoint --coin BTC --range "your range here. start:end" "your public here whitout first 2 ch"

example

KeyHunt-Cuda.exe -t 0 -g --gpui 0 --gpux 256,256 -m xpoint --coin BTC --range 8000000000:ffffffffff a2efa402fd5268400c77c20e574ba86409ededee7c4020e4b9f0edbee53de0d4

with CPU

KeyHunt-Cuda.exe -t "HERE CPU CORES TO USE"  --gpui 0 --gpux 256,256 -m xpoint --coin BTC --range "your range heree. start:end" "your public here whitout first 2"

example

KeyHunt-Cuda.exe -t 4  --gpui 0 --gpux 256,256 -m xpoint --coin BTC --range 8000000000:ffffffffff a2efa402fd5268400c77c20e574ba86409ededee7c4020e4b9f0edbee53de0d4

testet with my 4 cpu cores

1mkey/s = 1000mKeys in 1000 sec or 17 minutes.

If range is Decimal

example

1000000 to 20000000

in python

decimal to hex

Code:
start =1000000000
h = hex(start)[2: ]
print('hex :', h)

end =2000000000
h = hex(end)[2: ]
print('hex :', h)

use hex in keyhuntcuda

to generate the ranges of 1000000 in decimals you only add 1m x times

if you want to save all pubkey and privkey in ranges of every 1m

python modules

random
bitcoin

pip install bitcoin

for compressed addr

Code:
import bitcoin as bit
import random




#edit range_start


range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= int(result + range_start)
    b = hex(sum)[2:]
    c = str.format(b)
    pk= c.zfill(64)
    public_key = bit.privkey_to_pubkey(pk)
    public_key_compressed = bit.compress(public_key)
    data = open("found.txt","a")
    data.write(str(public_key_compressed)+"\n"+ str(pk)+"\n")
    data.close()
           


for uncompressed addr
  
Code:
import bitcoin as bit
import random




#edit range_start

range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= int(result + range_start)
    b = hex(sum)[2:]
    c = str.format(b)
    pk= c.zfill(64)
    public_key = bit.privkey_to_pubkey(pk)
    data = open("found.txt","a")
    data.write(str(public_key)+"\n"+ str(pk)+"\n")
    data.close()

if you know the public key and you want to save it

for compressed addr

Code:
import bitcoin as bit
import random


#edit range_start


range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= int(result + range_start)
    b = hex(sum)[2:]
    c = str.format(b)
    pk= c.zfill(64)
    public_key = bit.privkey_to_pubkey(pk)
    public_key_compressed = bit.compress(public_key)
    target = "here your public key"
    if public_key_compressed in target:
        print("address found")
        data = open("found.txt","a")
        data.write(str(pk)+"\n"+ str(public_key_compressed)+"\n")
        data.close()

for uncompressed addr

Code:
import bitcoin as bit
import random




#edit range_start


range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= int(result + range_start)
    b = hex(sum)[2:]
    c = str.format(b)
    pk= c.zfill(64)
    public_key = bit.privkey_to_pubkey(pk)
    target = "here your public key"
    if public_key in target:
        print("address found")
        data = open("found.txt","a")
        data.write(str(pk)+"\n"+ str(public_key)+"\n")
        data.close()


possibility #2

you take Hex(only numbers)

example

1000000 in decimal is 1000000

1000000 in hex is f4240


range 1000000- 1000000000 in hex is

0000000000000000000000000000000000000000000000000000000001000000
0000000000000000000000000000000000000000000000000000001000000000

this increase your search range


use python

if you want to save all public keys and private keys in ranges of every 1m

for compressed addr

Code:
import bitcoin as bit
import random




#edit range_start

range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= str(result + range_start)
    pk= sum.zfill(64)
    public_key = bit.privkey_to_pubkey(pk)
    public_key_compressed = bit.compress(public_key)
    data = open("found.txt","a")
    data.write(str(public_key_compressed)+"\n"+ str(pk)+"\n")
    data.close()
           

for uncompressed addr

Code:
import bitcoin as bit
import random




#edit range_start

range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= str(result + range_start)
    pk= sum.zfill(64)
    public_key = bit.privkey_to_pubkey(pk)
    data = open("found.txt","a")
    data.write(str(public_key)+"\n"+ str(pk)+"\n")
    data.close()




if you know the public key, and you want to save it

for compressed addr

Code:
import bitcoin as bit
import random




#edit range_start

range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= str(result + range_start)
    pk= sum.zfill(64)
    public_key = bit.privkey_to_pubkey(pk)
    public_key_compressed = bit.compress(public_key)
    target = "here your public key"
    if public_key_compressed in target:
        print("address found")
        data = open("found.txt","a")
        data.write(str(pk)+"\n"+ str(public_key_compressed)+"\n")
        data.close()



for uncompressed addr

Code:
import bitcoin as bit
import random




#edit range_start

range_start= int(10000095)
N=int(1000000)
for N in range(1000000000):
    add= str(N) +'000000'
    result= int(add)
    sum= str(result + range_start)
    pk= sum.zfill(64)
    public_key = bit.privkey_to_pubkey(pk))
    target = "here your public key"
    if public_key in target:
        print("address found")
        data = open("found.txt","a")
        data.write(str(pk)+"\n"+ str(public_key)+"\n")
        data.close()

in case you are an honest person.

bc1qtfhwwgf5pmq99f5x8hwvvklepzxumdxgrmya8k

newbie
Activity: 19
Merit: 1
April 13, 2023, 09:33:25 AM
#38
Do you just want a script that scans the public keys in "x" range and when it matches the public one that 1btc has, it saves its respective private key?
member
Activity: 122
Merit: 37
April 13, 2023, 03:40:56 AM
#37
you put them in a text file one key on each line and execute the program replacing the single key with the file
Not sure if you can do that with the python version but certainly with keyhunt.
newbie
Activity: 18
Merit: 1
April 13, 2023, 03:08:17 AM
#36

Thanks for helping, it worked.
Here comes the interesting part, that this Kangaroo algorithm takes only 1 public key. which is like finding 1 drop in an ocean as someone quoted. What about finding 1 billion drops instead of 1? Thats my point, when I say that 1 billion public keys increase the probability by 1 billion times. Hence, I am convinced if this Kangaroo algorithm takes 1 billion public keys instead of 1, the chances of finding one would increase exponentially. What do you say?


yes, the program can be modified to accept 1 billion keys and the chances do increase by the number of keys but also the speed drops proportionally with the number of keys.

it's a tradeoff speed or keys



Obviously with 1 billion key input its going to get super slow, but with manageable input it should be super fast. Can you elaborate further how can kangaroo algorithm take multiple pubkeys
newbie
Activity: 18
Merit: 1
April 13, 2023, 03:01:08 AM
#35
Thanks for helping, it worked.
Here comes the interesting part, that this Kangaroo algorithm takes only 1 public key. which is like finding 1 drop in an ocean as someone quoted. What about finding 1 billion drops instead of 1? Thats my point, when I say that 1 billion public keys increase the probability by 1 billion times. Hence, I am convinced if this Kangaroo algorithm takes 1 billion public keys instead of 1, the chances of finding one would increase exponentially. What do you say?


I am pleased it worked and you have recovered your BTC.
Can I claim the bounty?  My BTC address 1NcFJzayiHy4iPFz4QR9BqP8XHuSDCv5qx

The chances may increase exponentially with more addresses but of course it slows down with a billion keys to check.
The keyhunt program is much faster.
Plus a billion addresses may seem like a lot but it is a tiny drop in the ocean.

Well done again on recovering your btc.   

By "it worked" I meant that the script worked. It says I have to wait 1.7 million year before it actually finds the key.
member
Activity: 72
Merit: 43
April 13, 2023, 01:56:51 AM
#34

Thanks for helping, it worked.
Here comes the interesting part, that this Kangaroo algorithm takes only 1 public key. which is like finding 1 drop in an ocean as someone quoted. What about finding 1 billion drops instead of 1? Thats my point, when I say that 1 billion public keys increase the probability by 1 billion times. Hence, I am convinced if this Kangaroo algorithm takes 1 billion public keys instead of 1, the chances of finding one would increase exponentially. What do you say?


yes, the program can be modified to accept 1 billion keys and the chances do increase by the number of keys but also the speed drops proportionally with the number of keys.

it's a tradeoff speed or keys

member
Activity: 122
Merit: 37
April 13, 2023, 01:39:42 AM
#33
Thanks for helping, it worked.
Here comes the interesting part, that this Kangaroo algorithm takes only 1 public key. which is like finding 1 drop in an ocean as someone quoted. What about finding 1 billion drops instead of 1? Thats my point, when I say that 1 billion public keys increase the probability by 1 billion times. Hence, I am convinced if this Kangaroo algorithm takes 1 billion public keys instead of 1, the chances of finding one would increase exponentially. What do you say?


I am pleased it worked and you have recovered your BTC.
Can I claim the bounty?  My BTC address 1NcFJzayiHy4iPFz4QR9BqP8XHuSDCv5qx

The chances may increase exponentially with more addresses but of course it slows down with a billion keys to check.
The keyhunt program is much faster.
Plus a billion addresses may seem like a lot but it is a tiny drop in the ocean.

Well done again on recovering your btc.   
member
Activity: 110
Merit: 61
April 13, 2023, 01:14:01 AM
#32
Thanks for helping, it worked.
Here comes the interesting part, that this Kangaroo algorithm takes only 1 public key. which is like finding 1 drop in an ocean as someone quoted. What about finding 1 billion drops instead of 1? Thats my point, when I say that 1 billion public keys increase the probability by 1 billion times. Hence, I am convinced if this Kangaroo algorithm takes 1 billion public keys instead of 1, the chances of finding one would increase exponentially. What do you say?

Kangaroo algorithm is originally designed to search for a specific point (public key) and does not work with multiple keys. In the process of work, he already creates a lot of points, mathematically related with original point. Basically you need to generate a number of pubkeys equal to square root of range to solve the ECDLP. If we talking about range like 2^125 (current unsolved puzzle), you have to generate 2^63 pubkeys to solve it (no need to save them all, it is futher kangaroo optimizations called distinguished points)
newbie
Activity: 18
Merit: 1
April 12, 2023, 11:53:15 PM
#31
just download the code to a directory(folder)
change to that directory don't alter any code.  It is all run from the command line.


Open a terminal / powershell window and type in the command line

python3 kangaroo.py 00008:0000ff 02049370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963
cut & paste the above to get the idea.

python 3 calls the program kangaroo.py

00008 is the start of the range in hexadecimal.
Here you put in your start range of the first key you generated yours might be much bigger 1234567abcde or whatever.

: is a separator

000ff is the end of the range (1000 decimal is a different number to 1000 hex
again put in your end range

then put in the public key of the first key you generated and wait.

If successful, a file containing the key will be generated as well as being shown on the screen

I have tested this program and it works.
good luck.



Thanks for helping, it worked.
Here comes the interesting part, that this Kangaroo algorithm takes only 1 public key. which is like finding 1 drop in an ocean as someone quoted. What about finding 1 billion drops instead of 1? Thats my point, when I say that 1 billion public keys increase the probability by 1 billion times. Hence, I am convinced if this Kangaroo algorithm takes 1 billion public keys instead of 1, the chances of finding one would increase exponentially. What do you say?
legendary
Activity: 3472
Merit: 10611
April 12, 2023, 10:52:07 PM
#30
1. Adding numbers to private keys ? Is that even possible/safe ? How would that generate a public key ? Hmm RSA, eclipctive curve ? hmmm..
It's called elliptic curve and the private keys are merely numbers so you can perform any kind of arithmetic operation on them as you like (add, subtract, multiply, divide, etc.) as long as you end up with an integer that is between 1 and curve order (N).

As for safety it comes down to how the initial key was selected, if it were random the result will also be safe. In fact this is the method that vanity address generators use.
newbie
Activity: 18
Merit: 1
April 12, 2023, 10:41:29 PM
#29
still dont know what the author wants..

@Unplugged Taste
tell us, do you know the public key of the address containing 1 BTC or not ??

from your posts i believe you dont know which public key is the correct one....

i posted on the first page a script that converts all the public keys you have into addresses and compares them to the address containing your money.
it will return only the address and it's public key

IF you already know the public key of the address why would you need to check all the public keys at once??

Perhaps you misunderstood what I said. Let me clear you that I know the public key & address carrying funds. The reason of me stressing on 1 billion public keys around it and trying to find any one private key of any of them is that it is increasing chances by 1 billion times. Why? Because they are in a sequence like 1,2,3,4,... etc. Its like there are 1 billion private keys carrying that 1 BTC because any one could easily lead to the principle private key easily.
member
Activity: 72
Merit: 43
April 12, 2023, 03:41:07 AM
#28
still dont know what the author wants..

@Unplugged Taste
tell us, do you know the public key of the address containing 1 BTC or not ??

from your posts i believe you dont know which public key is the correct one....

i posted on the first page a script that converts all the public keys you have into addresses and compares them to the address containing your money.
it will return only the address and it's public key

IF you already know the public key of the address why would you need to check all the public keys at once??
member
Activity: 122
Merit: 37
April 12, 2023, 02:05:40 AM
#27
just download the code to a directory(folder)
change to that directory don't alter any code.  It is all run from the command line.


Open a terminal / powershell window and type in the command line

python3 kangaroo.py 00008:0000ff 02049370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963
cut & paste the above to get the idea.

python 3 calls the program kangaroo.py

00008 is the start of the range in hexadecimal.
Here you put in your start range of the first key you generated yours might be much bigger 1234567abcde or whatever.

: is a separator

000ff is the end of the range (1000 decimal is a different number to 1000 hex
again put in your end range

then put in the public key of the first key you generated and wait.

If successful, a file containing the key will be generated as well as being shown on the screen

I have tested this program and it works.
good luck.






newbie
Activity: 18
Merit: 1
April 12, 2023, 01:34:15 AM
#26
If you really want to use python then use this. Much easier than deciphering the robot code.

https://github.com/Telariust/pollard-kangaroo/blob/master/pollard-kangaroo.py

start it by running
python3 kangaroo.py 00008:0000ff 02049370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963

replacing the range 00008 (start)  : 0000ff (end)   and public keys with your own.

It has a set of test keys too so if you just run

python3 kangaroo.py

you can see how it works with test data


Where in the above script should I insert my own start and end range? the script you suggested https://github.com/Telariust/pollard-kangaroo/blob/master/pollard-kangaroo.py
It has also inserted pubkeys in an awkward way that I don't understand
member
Activity: 122
Merit: 37
April 12, 2023, 12:24:17 AM
#25
If you really want to use python then use this. Much easier than deciphering the robot code.

https://github.com/Telariust/pollard-kangaroo/blob/master/pollard-kangaroo.py

start it by running
python3 kangaroo.py 00008:0000ff 02049370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963

replacing the range 00008 (start)  : 0000ff (end)   and public keys with your own.

It has a set of test keys too so if you just run

python3 kangaroo.py

you can see how it works with test data

newbie
Activity: 18
Merit: 1
April 11, 2023, 11:43:53 PM
#24
Would someone please see the script that I think is best suited for my needs.
The script is generated by chatGPT not me. So if you suggest any changes in it please be specific like which should be replaced with which line of code. Thanks.

Code:
import multiprocessing
import hashlib
import binascii
from Crypto.Util.number import long_to_bytes, bytes_to_long

start_hex = '0000000000000000000000000000000000000000000000000000000000000000'
end_hex = '0000000000000000000000000000000000000000000000000000000000000000'
start = int(start_hex, 16)
end = int(end_hex, 16)
num_parts = 4

def kangaroo(start, end, pubkeys):
    G = 2
    hash_size = 256
    max_iters = 2**32

    def H(x):
        if isinstance(x, bytes):
            return hashlib.sha256(x).digest()
        else:
            return hashlib.sha256(x.to_bytes((x.bit_length() + 7) // 8, byteorder='big')).digest()




    def kangaroo_algorithm(x1, x2, step):
        x = x1
        xs = set()
        for i in range(max_iters):
            x = (x + step) % end
            h = bytes_to_long(H(long_to_bytes(x)))
            if h in pubkeys:
                return x, pubkeys[h]
            xs.add(x)
            if len(xs) == hash_size:
                xs.clear()
                y = x2
                for j in range(i):
                    y = (y + step) % end
                    if y in xs:
                        return x, None
        return None, None

    step = end // hash_size
    x1 = start
    x2 = start + step
    private_key, public_key = kangaroo_algorithm(x1, x2, step)
    if private_key is not None:
        private_hex = hex(private_key)[2:]
        private_hex = '0' * (64 - len(private_hex)) + private_hex
        return (private_key, private_hex, public_key)
    else:
        return None

if __name__ == '__main__':
    pubkeys_file = 'pubkeys.txt'
    foundkeys_file = 'foundkeys.txt'

    with open(pubkeys_file, 'r') as f:
        pubkeys = {int(line.strip(), 16) for line in f}

    pool = multiprocessing.Pool(processes=num_parts)

    start_ranges = [start + i * ((end - start) // num_parts) for i in range(num_parts)]
    end_ranges = [start + (i + 1) * ((end - start) // num_parts) for i in range(num_parts)]
    args = [(start_ranges[i], end_ranges[i], pubkeys) for i in range(num_parts)]

    results = pool.starmap(kangaroo, args)
    foundkeys = [result for result in results if result is not None]

    with open(foundkeys_file, 'w') as f:
        for result in foundkeys:
            f.write(f"{result[0]}\n")
            print(f"Found private key: {result[1]} for public key: {result[2]}")

    print("Done.")

I ran the script its just blinking since there are no print statements added along... I don't know whether it is working correctly or not.
sr. member
Activity: 1190
Merit: 469
April 11, 2023, 11:18:20 PM
#23
Hi everyone! I hope you are all doing great.

I am not a programmer. Just started running ready made python scripts given by Chat GPT. But now I realized robots cannot replace humans whatsoever Tech advancements may happen.
Here is my situation. I am private keys lost case. AND I just don't want to handover matters into other's hands for obvious reasons.
My case is super identical. I created a bitcoin puzzle myself with my own BTCs and in the process I lost my own private keys, very funny hah! BUT its true.
First of all I generated a random private key from within a range, like that of BITCOIN Puzzle range. I generated its public key and I than started adding 1 million in the private key and generated its public key. Again I added 1 million in the private key and generated its public key. I continued this for 1k times. So basically from first private key and last private there is 1 billion private keys.
In case you didn't get my point:
Suppose I randomly chosen private key as 980
I added 1 million in private key = 1,000,980
Again added 1 million = 2,000,980,
...
...
...
Up till I added 1 billion in my first private key.

From start to end of private keys, I generated all public keys! YES, I still have 1 billion public keys of those 1 billion private keys.
I don't understand the motivation for creating 1 billion bitcoin private keys (and public keys). And then depositing 1 BTC on to one of them. What's the purpose of the other 999,999 private keys? i mean 999,999,999.

Quote
Ironically I lost all my private keys.
You have to write them down on paper. Of course, in your case you would need to make a trip to office depot to get a couple packs of copy paper that comes in the 500 quantity stacks... Shocked you could even get that box that has like 3000 perforated sheets all connected together so you could print them out on a dot matrix printer.
newbie
Activity: 18
Merit: 1
April 11, 2023, 10:23:46 PM
#22
First of all I generated a random private key from within a range, like that of BITCOIN Puzzle range. I generated its public key and I than started adding 1 million in the private key and generated its public key. Again I added 1 million in the private key and generated its public key. I continued this for 1k times. So basically from first private key and last private there is 1 billion private keys.
In case you didn't get my point:
Suppose I randomly chosen private key as 980
I added 1 million in private key = 1,000,980
Again added 1 million = 2,000,980,
...
...
...
Up till I added 1 billion in my first private key.

From start to end of private keys, I generated all public keys! YES, I still have 1 billion public keys of those 1 billion private keys.
Ironically I lost all my private keys. Not a single public key is released since no transaction has ever happened.

What was the purpose to iterate 1k times to add 1m to the initial and then intermediate random key of this iteration? To me it makes no sense when you used also all intermediate private keys anyway (or I can't follow your procedure).

If I understand you correctly you have a starting private key from some range and you stepped over a consecutive range of 1 billion (1k times 1m) private keys. All private keys are only one unit apart from each other.
Then you generated from all those 1 billion private keys the respective public keys. It's a fair assumption that you only initially stored the starting private key and not all the intermediate ones. You did that by some script or program and kept only the output of the public keys. You had no or poor backup and somehow lost your program or script and with it your initial private key. Well, shit happens. Out of curiosity, when did you do that and how much was 1 BTC worth at that time?

I placed 1 BTC in any one of those 1 billion private keys that I am looking for.
Just to be clear: there's 1 BTC controlled by a single private key from your range of 1 billion consecutive private keys located somewhere in the private key space of Bitcoin?

Still, your 1k steps don't make any sense to me in the context of your other details. Feel free to correct me where I'm wrong.

So far you are the only one who has perfectly understood what I am saying! You are 100% correct, there's 1 BTC controlled by a single private key within the range. It was around 2 months ago.
newbie
Activity: 18
Merit: 1
April 11, 2023, 10:17:36 PM
#21
1. Adding numbers to private keys ? Is that even possible/safe ? How would that generate a public key ? Hmm RSA, eclipctive curve ? hmmm..

2. 1 BTC each in one of these billion addresses ? Euh are you aware bitcoin only has 21 million coins ?! LOL.

This smells and sounds fishy to me ! =D



Perhaps you misunderstood what I said. There is only 1 BTC in only 1 address. That 1 address that I already know & its public key has 1 billion public keys around it. you can turn any number to become your private key or any sequence of number some people are asking whether it is possible or not!
jr. member
Activity: 40
Merit: 3
April 11, 2023, 09:20:43 PM
#20
Hi everyone! I hope you are all doing great.

I am not a programmer. Just started running ready made python scripts given by Chat GPT. But now I realized robots cannot replace humans whatsoever Tech advancements may happen.
Here is my situation. I am private keys lost case. AND I just don't want to handover matters into other's hands for obvious reasons.
My case is super identical. I created a bitcoin puzzle myself with my own BTCs and in the process I lost my own private keys, very funny hah! BUT its true.
First of all I generated a random private key from within a range, like that of BITCOIN Puzzle range. I generated its public key and I than started adding 1 million in the private key and generated its public key. Again I added 1 million in the private key and generated its public key. I continued this for 1k times. So basically from first private key and last private there is 1 billion private keys.
In case you didn't get my point:
Suppose I randomly chosen private key as 980
I added 1 million in private key = 1,000,980
Again added 1 million = 2,000,980,
...
...
...
Up till I added 1 billion in my first private key.

From start to end of private keys, I generated all public keys! YES, I still have 1 billion public keys of those 1 billion private keys.
Ironically I lost all my private keys. Not a single public key is released since no transaction has ever happened. I placed 1 BTC in any one of those 1 billion private keys that I am looking for. I will be glad to share 0.1 BTC for genuine help specifically for python scripts would be great. Currently I am considering modifying Kangaroo algorithm to suit my needs, no luck so far.
Looking forward

Unfortunately, if you hide your private key in a small range, the unmanned robot will already work and have already taken your money.

full member
Activity: 385
Merit: 110
April 11, 2023, 07:47:48 PM
#19
1. Adding numbers to private keys ? Is that even possible/safe ? How would that generate a public key ? Hmm RSA, eclipctive curve ? hmmm..

2. 1 BTC each in one of these billion addresses ? Euh are you aware bitcoin only has 21 million coins ?! LOL.

This smells and sounds fishy to me ! =D

hero member
Activity: 714
Merit: 1010
Crypto Swap Exchange
April 11, 2023, 07:45:29 AM
#18
First of all I generated a random private key from within a range, like that of BITCOIN Puzzle range. I generated its public key and I than started adding 1 million in the private key and generated its public key. Again I added 1 million in the private key and generated its public key. I continued this for 1k times. So basically from first private key and last private there is 1 billion private keys.
In case you didn't get my point:
Suppose I randomly chosen private key as 980
I added 1 million in private key = 1,000,980
Again added 1 million = 2,000,980,
...
...
...
Up till I added 1 billion in my first private key.

From start to end of private keys, I generated all public keys! YES, I still have 1 billion public keys of those 1 billion private keys.
Ironically I lost all my private keys. Not a single public key is released since no transaction has ever happened.

What was the purpose to iterate 1k times to add 1m to the initial and then intermediate random key of this iteration? To me it makes no sense when you used also all intermediate private keys anyway (or I can't follow your procedure).

If I understand you correctly you have a starting private key from some range and you stepped over a consecutive range of 1 billion (1k times 1m) private keys. All private keys are only one unit apart from each other.
Then you generated from all those 1 billion private keys the respective public keys. It's a fair assumption that you only initially stored the starting private key and not all the intermediate ones. You did that by some script or program and kept only the output of the public keys. You had no or poor backup and somehow lost your program or script and with it your initial private key. Well, shit happens. Out of curiosity, when did you do that and how much was 1 BTC worth at that time?

I placed 1 BTC in any one of those 1 billion private keys that I am looking for.
Just to be clear: there's 1 BTC controlled by a single private key from your range of 1 billion consecutive private keys located somewhere in the private key space of Bitcoin?

Still, your 1k steps don't make any sense to me in the context of your other details. Feel free to correct me where I'm wrong.
member
Activity: 194
Merit: 14
April 11, 2023, 05:56:43 AM
#17
2,5 years ago back in 2020, I also had about 0.22BTC placed in a 80 bits range, which i put for testing purposes, but at the end i have lost its public key and after that obviously lost its coins.

No way to recover it anymore if your situation like me. Because all i know now is the address, and where the private key approximately located. But other than that gg bye bye coins. 80 bits is still big range. My pc can scan only 40 bits. So can you imagine scanning 80 bits?

I was too dumb.
legendary
Activity: 3472
Merit: 10611
April 11, 2023, 03:58:13 AM
#16
In puzzle#120 you are looking for 1 private key and in mine it is 1 billion.
1 billion keys may look big when you look at it alone but when it is in comparison in a range such as the 2122 key range, it is more like a drop in the ocean.
member
Activity: 72
Merit: 43
April 11, 2023, 03:30:49 AM
#15
so thats what you want to find...
you can use the following code to convert Public Key to Address and print it on the screen

what you need to do is to replace the "INSERT_YOUR_ADDRESS" with your actual address, and put all the public keys into a file.
replace 'your_file_with_pubkeys.txt' with your file name

what this script does is take every public key from your file and convert it to address.
at the end you will know the public key corresponding to the address

you may also need to install base58 with pip install base58
Code:
import hashlib
import base58

def sha256(arg) :
byte_array = bytearray.fromhex(arg)
m = hashlib.sha256()
m.update(byte_array)
return m.hexdigest()

def ripemd160(arg):
    h = hashlib.new('ripemd160')
    h.update(bytearray.fromhex(arg))
    return h.hexdigest()

def final_hash(arg):
    h256 = sha256(arg)
    h160 = ripemd160(h256)
    tmp = "00" + h160
    checksum = sha256(sha256(tmp))[:8]
    return tmp + checksum

def getAddress(arg):
    h = final_hash(arg)
    return base58.b58encode(bytes.fromhex(h)).decode('utf-8')

targetAddress = "INSERT_YOUR_ADDRESS"

file = open('your_file_with_pubkeys.txt', 'r')

for line in file:
    pk = line.strip()
    if getAddress(pk) == targetAddress:
         print("The Public Key for address " + targetAddress + " is : " + pk )

 
file.close()

// edit
after you find the public key matching the address with funds you will only need to search for private key for that single public key
PS: it may take a 2-3 hours to convert those 1billion public keys to address
newbie
Activity: 18
Merit: 1
April 11, 2023, 03:19:46 AM
#14
In simplest form... Within given range start and end bit,,,, There are 1 billion private keys in sequence. and We have their 1 billion public keys. So the reason I am stressing on it is that because it like finding 1 billion private keys in given range instead of finding 1, don't you think it got to be easy? The range is similar to that of bitcoin puzzle but it is not straight forward zeros and fffs, it is more than 2^122 i guess!

2^122 ranges are extremely hard to crack, even if you have the public keys and can use Kangaroo, because it took an insanely long time (and who knows how much hardware) to break puzzle #120 which has a similar range.

What is the algorithm you used to create each subsequent private key from the first?

In puzzle#120 you are looking for 1 private key and in mine it is 1 billion.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
April 11, 2023, 03:16:17 AM
#13
In simplest form... Within given range start and end bit,,,, There are 1 billion private keys in sequence. and We have their 1 billion public keys. So the reason I am stressing on it is that because it like finding 1 billion private keys in given range instead of finding 1, don't you think it got to be easy? The range is similar to that of bitcoin puzzle but it is not straight forward zeros and fffs, it is more than 2^122 i guess!

2^122 ranges are extremely hard to crack, even if you have the public keys and can use Kangaroo, because it took an insanely long time (and who knows how much hardware) to break puzzle #120 which has a similar range.

What is the algorithm you used to create each subsequent private key from the first?
legendary
Activity: 3472
Merit: 10611
April 11, 2023, 03:12:49 AM
#12
I know the position of the one in which the BTC have but I am still keeping all 1 billion hoping that there might be some algorithm which can take this sequence of public keys and try to find 1 single private key within given range.
The sequence of public keys is not going to be useful in solving the problem itself. The only advantage it could give you is to improve your luck, slightly. Meaning when you search for the key you can check each permutation against this list instead of just the funded key and when you find a private key corresponding to a pubkey from that list you stop there and then according to where in the list the key is located (assuming the pubkey list is sorted not randomly stored) you could compute the private key of the funded address.
member
Activity: 72
Merit: 43
April 11, 2023, 03:11:24 AM
#11
sorry, still didn't get it.
Do you know the public key of the address containing the money or thats what you want to find ?
newbie
Activity: 18
Merit: 1
April 11, 2023, 03:08:17 AM
#10
In simplest form... Within given range start and end bit,,,, There are 1 billion private keys in sequence. and We have their 1 billion public keys. So the reason I am stressing on it is that because it like finding 1 billion private keys in given range instead of finding 1, don't you think it got to be easy? The range is similar to that of bitcoin puzzle but it is not straight forward zeros and fffs, it is more than 2^122 i guess!
member
Activity: 72
Merit: 43
April 11, 2023, 03:03:09 AM
#9
how did you lose your private keys??? are you sure python didnt save the file with the private keys under your profile directory?
newbie
Activity: 18
Merit: 1
April 11, 2023, 02:59:39 AM
#8
I highly appreciate all of you answers and I'll try to answer your questions.
With regard to checking the balance in the address of public key, I already have it. The reason I stressed on 1 billion public keys is the fact that they are in sequence of private keys like private key 503,504,505,506,507,..... I was only saving private key after 1 million. 1 billion Public keys that I have they are not 1 million apart they are the sequence of 1 billion private keys. I know the position of the one in which the BTC have but I am still keeping all 1 billion hoping that there might be some algorithm which can take this sequence of public keys and try to find 1 single private key within given range.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
April 11, 2023, 02:09:30 AM
#7
I'm a bit confused about how you exactly generated your private keys.
Do you mind telling us the tools, wallet or software did you use to generate these private keys?

Is the Bitcoin puzzle you mean is likely the same as flipping a coin when generating a private key?
If you don't know what is coin flipping to generate private keys then check this https://bitcointalksearch.org/topic/bitcoin-visual-private-key-generator-5187401

More information can give us more idea on how can we solve your case.
legendary
Activity: 952
Merit: 1386
April 11, 2023, 02:05:10 AM
#6
How many sets must be checked? I guess you do not know the starting point, so the real difficulty is in the fact that we may need to take into account X initial keys.
Processing a single set itself is trivial - I guess you know the public key/address you are looking for, at least it is not very difficult to generate addresses for each public key and see which one is founded.
member
Activity: 72
Merit: 43
April 11, 2023, 01:52:15 AM
#5
here is a simple script that will help you find the key if you know the initial starting key
you need to install or download ecpy in same folder.

Code:
from ecpy.curves     import Curve,Point
cv = Curve.get_curve('secp256k1')

G  = Point(0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798,
           0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8,
           cv)

startKey = 0x12345678
startKeyPub = G * startKey
lucky_pub = "02A88049484BBD7DC717FF0414262F03074E784BBBF86DF052933104A2DFE6AD86"

for i in range(0, 1000):
    startKeyPub = startKeyPub + G * (i * 1000000)
    if startKeyPub == lucky_pub:
        print(hex(startKey + (i * 1000000)))
        break

//edit
if you know the range in which you generated the pubkey like between 2^80 and 2^81 you could use kangaroo with only the pubkey containing the money, no need to edit the program, it's quite fast.
legendary
Activity: 3472
Merit: 10611
April 11, 2023, 01:32:07 AM
#4
First of all I generated a random private key from within a range,
The only way to find your key is to know that range. If the range is small then you have to check all the keys in that range because what you did (adding a million) is not going to change anything since the start was random.
If the range is huge, there is no way to recover the key.
If you don't know the range is huge, there is also no way to recover the key.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
April 11, 2023, 01:25:38 AM
#3
Considering that you have all of the public keys, you need to look for the one that has the 1BTC in a block explorer by hashing them into an address first.

Were they legacy addresses, or a form of segwit address?

After you have the 1k addresses, you should be able to look them up in any block explorer and see which one has the incoming transaction.

If the public keys were in a file, and they are in order of creation, you have some luck, because it will be possible to deduce the exact addition you added to it.
member
Activity: 122
Merit: 37
April 11, 2023, 12:32:15 AM
#2

I generated a random private key from within a range,

Albertobsd's key hunt program may help.. It has a lot of options. He is also a member of the forum
https://github.com/albertobsd/keyhunt

If you can remember the range, then start at the beginning and regenerate with the BSGS or kangaroo options until you hit the first public key.
DON'T publish the range or you will have lots of unknown helpers!

How did you lose the original key was a file deleted? perhaps try recovering that.

Good luck.
newbie
Activity: 18
Merit: 1
April 10, 2023, 11:29:43 PM
#1
Hi everyone! I hope you are all doing great.

I am not a programmer. Just started running ready made python scripts given by Chat GPT. But now I realized robots cannot replace humans whatsoever Tech advancements may happen.
Here is my situation. I am private keys lost case. AND I just don't want to handover matters into other's hands for obvious reasons.
My case is super identical. I created a bitcoin puzzle myself with my own BTCs and in the process I lost my own private keys, very funny hah! BUT its true.
First of all I generated a random private key from within a range, like that of BITCOIN Puzzle range. I generated its public key and I than started adding 1 million in the private key and generated its public key. Again I added 1 million in the private key and generated its public key. I continued this for 1k times. So basically from first private key and last private there is 1 billion private keys.
In case you didn't get my point:
Suppose I randomly chosen private key as 980
I added 1 million in private key = 1,000,980
Again added 1 million = 2,000,980,
...
...
...
Up till I added 1 billion in my first private key.

From start to end of private keys, I generated all public keys! YES, I still have 1 billion public keys of those 1 billion private keys.
Ironically I lost all my private keys. Not a single public key is released since no transaction has ever happened. I placed 1 BTC in any one of those 1 billion private keys that I am looking for. I will be glad to share 0.1 BTC for genuine help specifically for python scripts would be great. Currently I am considering modifying Kangaroo algorithm to suit my needs, no luck so far.
Looking forward
Jump to: