albertobsd / keyhunt

privkey hunt for crypto currencies that use secp256k1 elliptic curve
MIT License
640 stars 349 forks source link

Writing Data to Files #242

Closed rage0920 closed 1 year ago

rage0920 commented 1 year ago

Hey @albertobsd i was wondering if i can add a function that writes all the private key and pub keys that the code has searched to a file ? is it possible ? lets say i select sequence mode and i need all the priv_keys and pub_keys it searched if yes where do i add the data write mode

albertobsd commented 1 year ago

No that will drop the performance of the program by some tens of times.

I am about the implement the SaveProcess to save exclusively the subranges that were full scanned. But that is not going to save the individual Privatekey or publickeys

rage0920 commented 1 year ago

Just a question is it possible to write a code in C Or cpp that can run at this speed just to generate the private - pub key pairs? If you can explain to me a bit more in detail on how the tool works maybe we can collaborate? I have team who are programmers I'm just the guy who runs the show not a programmer. Let me know if your interested in collaboration maybe we can come up with better plans as we have the resources required.

albertobsd commented 1 year ago

What speed do you mean?

You can write the Code if you know C or C++, anything that you want that the program do is possible, but if you write in disk and wait the same speed will be somekind of very diffult.

The BSGS process use Math and precalculate data to get that speed, it don't generate every key in the subrange, it only generate a few number of keys.

The address/rmd process generate all the intermediate publickeys but to save it on file it will need lost some %50 to % 80 of the current speed or even more.

rage0920 commented 1 year ago

How can I reach you? For a further discussion about this? We have a plan. An attempt on using index calculus to solve this DLP. Your collaboration with us would be just great!

albertobsd commented 1 year ago

https://t.me/albertobsd