Post
Topic
Board Development & Technical Discussion
Re: Pollard's kangaroo ECDLP solver
by
WanderingPhilospher
on 09/01/2021, 16:14:42 UTC
Today I tested Kangaroo 2.2 on the Ubuntu. Everything works great! Thanks a lot Jean_Luc!
Most of the participants in this discussion are programmers, and I have a question for you. How do you loop the MultiPubKey?
I would really like to search the list using different public keys in one specific range.

you can use the:

-m maxStep: number of operations before give up the search (maxStep*expected operation)

and the program will move to next pubkey if not found within -m operations

@WanderingPhilospher thanks for the advice. I am using the command:
Code:
./kangaroo -ws -w save.work -wi 30 -o result.txt in.txt
How to correctly write in (-m maxStep) so that every 15 minutes there is a transition to the next new public key?
the max step is based off of group operations so you'd have to watch when your program normally gets to where you want to end (watching the time) and then enter it, if you want it to end after a length of time. But let's say the estimated operations is 2^30, you would use the max step to end the program's search after 2^30.5, or 2^31, or 2^100, or whatever you want.

Is it possible to automate this in UBUNTU so as not to manually enter the add-on in the terminal? 15 minutes is enough for me to search in each public key in the list.
If you use the save feature, I'm not sure you can run another pubkey; I think it will throw an erro "Multiple pubkeys not supported..."
I am not an UBUNTU expert, I mainly use Windows. For what you are wanting to do, in Windows, I would create a batch file that would timeout after 15 minutes for each pubkey and set the save file to a different name for each pubkey, then no issues with multiple pubkey error.

@WanderingPhilospher I am using one file: "save.work" to search for privkeys for different public keys in one specific range.
Does this decrease the speed with one file: "save.work"? Or do me need to change the file: "save.work" that is, register a separate file for each public key?

Ok, I ran a quick test to make sure. If you search for multiple pubkeys listed in a input file, once the kangaroo finds or starts searching for the next pubkey, it overwrites the save.work file.

The speed is not effected, it will just overwrite previous data each time it searches for new/next pubkey. Search for pubkeys in a small range and you can see what I mean.