Pages:
Author

Topic: Pollard's kangaroo ECDLP solver - page 98. (Read 59389 times)

legendary
Activity: 1932
Merit: 2077
June 17, 2020, 05:26:57 AM
@JeanLuc can you add G to params in the next release? Thanks.
if someone wants to use the suggested arulbero method, then the parameter G must be changeable. (As i understand correct)

You would need to do these changes:

- a parameter 'reuse', to indicate that you want to reuse a DP file generated for a different search task, and the indication of the difference 'xbit'
*** xbit: current bit range -  previous bit range (for example, 119 bit - 114 bit = 5 bit)

- ** recompute all the previous private keys multiplying them by 2^xbit (for example, for all the 2^33.36 DPs found by Zielar,  each single privkey k -> k' = k*(2^5) )

- the point P needs to be converted in P' = inv(2^xbit) * P  (for example, P' = inv(2^5)*P)  

- the point G needs to be converted in G' = inv(2^xbit) * G  (for example, G' = inv(2^5)*G)


** this task is not strictly necessary, it is enough, once you have found a collision, to modify only the private key of the old DP involved in the collision, to retrieve the correct private key for P (remember that the points are the same); you could insert as parameter the public key of the previous search too, in this way you can avoid to transform all the old wild kangaroos in tame kangaroos, again you could do this transformation on the fly at the end, and only for the single wild kangaroo involved in the collision

*** you can use a xbit negative too, if current bit range < previous bit range, for example inv(2^-5) = 2^5; in this case all the old DPs have the new private keys (respect to G' = 32*G) that are 1/32 of the old private keys; on average only 1/32 of the old DPs will be available for the new search in the new interval; in this case you need to compute first the private keys of all old DPs in order to choose the correct ones; but in this case it would be simpler fetching directly the old DPs that lies in the new range too, without change G

member
Activity: 873
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
June 17, 2020, 04:27:41 AM
@JeanLuc make please option for save all dead kangaroo to .txt file in readable format ? This is needed information for understand mistake with ranges and -d param.


@JeanLuc and make please counting +/- dead kangaroo: [Dead 10] -> [Dead total: 10 ["+" 8, "-" 2 ]]

BR.




newbie
Activity: 17
Merit: 0
June 17, 2020, 04:13:01 AM

If you or someone who can program can work on sending hashtable to textfiles (like your export option configuration) then there would be no need for save files and merging, etc. If you give user option to export tame and wild files with any amount they wish (example 20 tame and 20 wild files), then no merging or saving. Just compare the different tame and wild files for a collision/solution. This also eliminates any RAM issues.

Once you know the structure of a workfile it is not difficult to work with this type of file. I have created a small script in python as an example, anyone can modify it to suit their needs

https://gist.github.com/PatatasFritas/a0409df4306fb1bb81f9a53e70151ddc
sr. member
Activity: 642
Merit: 316
June 17, 2020, 04:09:08 AM
@JeanLuc can you add G (Generator point) to params in the next release? Thanks.
if someone wants to use the suggested arulbero method, then the parameter G must be changeable. (As i understand correct)
full member
Activity: 141
Merit: 116
June 17, 2020, 03:54:25 AM
-snip-
...Here is server/client (source and compiled version) for bitcrack, you also need put cu or cl version of Bitcrack.exe to client folder https://drive.google.com/file/d/1pFTvBLwTDF4GZCyDpJHwnWqfuNeOT6Ik..


@Etar would you mind sharing the source code ?


Edit: Please disregard, I got it .

member
Activity: 873
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
June 17, 2020, 02:00:07 AM
I have a question, P = kG, k is in the range of [k1, k2], I am now solving for a public key, but I don’t know the range of [k1, k2], how should I use the kangaroo.exe program, or can I explain how Estimate the range of [k1, k2]?
There is no way to estimate the range. You would have to search range from 000000000000....1 to FFFFFFFFFFF...F (1 to 256)  which would be a really long time.
Is there any way to get other information from the public key, such as X coordinate?
yes, you can get x and y from pubkey.

Buddy, how to extract dead kangaroo parameters from work file or enower method ?
full member
Activity: 1162
Merit: 237
Shooters Shoot...
June 16, 2020, 10:58:45 PM
I have a question, P = kG, k is in the range of [k1, k2], I am now solving for a public key, but I don’t know the range of [k1, k2], how should I use the kangaroo.exe program, or can I explain how Estimate the range of [k1, k2]?
There is no way to estimate the range. You would have to search range from 000000000000....1 to FFFFFFFFFFF...F (1 to 256)  which would be a really long time.
Is there any way to get other information from the public key, such as X coordinate?
yes, you can get x and y from pubkey.
newbie
Activity: 14
Merit: 0
June 16, 2020, 09:05:01 PM
I have a question, P = kG, k is in the range of [k1, k2], I am now solving for a public key, but I don’t know the range of [k1, k2], how should I use the kangaroo.exe program, or can I explain how Estimate the range of [k1, k2]?
There is no way to estimate the range. You would have to search range from 000000000000....1 to FFFFFFFFFFF...F (1 to 256)  which would be a really long time.
Is there any way to get other information from the public key, such as X coordinate?
full member
Activity: 1162
Merit: 237
Shooters Shoot...
June 16, 2020, 08:53:32 PM
I have a question, P = kG, k is in the range of [k1, k2], I am now solving for a public key, but I don’t know the range of [k1, k2], how should I use the kangaroo.exe program, or can I explain how Estimate the range of [k1, k2]?
There is no way to estimate the range. You would have to search range from 000000000000....1 to FFFFFFFFFFF...F (1 to 256)  which would be a really long time.
newbie
Activity: 14
Merit: 0
June 16, 2020, 08:49:15 PM
I have a question, P = kG, k is in the range of [k1, k2], I am now solving for a public key, but I don’t know the range of [k1, k2], how should I use the kangaroo.exe program, or can I explain how Estimate the range of [k1, k2]?
full member
Activity: 1162
Merit: 237
Shooters Shoot...
June 16, 2020, 08:28:06 PM
Congratulations to Jean_Luc and zielar!

I have been thinking for several days about removing the hashtables from the joining process, and when I finally finish it I find that it had already been implemented by JeanLuc Cheesy

Now I have applied the same method to join several files in one process, reducing the total time quite a bit.
My approach is to read all the files in the directory at the same time in HASH_ENTRY loop.

Although my code works, it is still in testing and it is possible that it has some bug.


https://github.com/PatatasFritas/FriedKangaroo/blob/merge/Merge.cpp
If you or someone who can program can work on sending hashtable to textfiles (like your export option configuration) then there would be no need for save files and merging, etc. If you give user option to export tame and wild files with any amount they wish (example 20 tame and 20 wild files), then no merging or saving. Just compare the different tame and wild files for a collision/solution. This also eliminates any RAM issues.
newbie
Activity: 17
Merit: 0
June 16, 2020, 08:17:33 PM
Congratulations to Jean_Luc and zielar!

I have been thinking for several days about removing the hashtables from the joining process, and when I finally finish it I find that it had already been implemented by JeanLuc Cheesy

Now I have applied the same method to join several files in one process, reducing the total time quite a bit.
My approach is to read all the files in the directory at the same time in HASH_ENTRY loop.

Although my code works, it is still in testing and it is possible that it has some bug.


https://github.com/PatatasFritas/FriedKangaroo/blob/merge/Merge.cpp
full member
Activity: 1162
Merit: 237
Shooters Shoot...
June 16, 2020, 04:07:28 PM

@JeanLuc sorry about little offtop in your thread..
@WanderingPhilospher Here is server/client (source and compiled version) for bitcrack, you also need put cu or cl version of Bitcrack.exe to client folder https://drive.google.com/file/d/1pFTvBLwTDF4GZCyDpJHwnWqfuNeOT6Ik
before using app in big range made few test in small interval to make shure that you correct understand params.(-dp 3 means that the entire range will be divided into 2^3=8 subranges)
[/quote]
@Etar open up PMs please.
jr. member
Activity: 43
Merit: 1
June 16, 2020, 03:21:17 PM
@Etar thanks
full member
Activity: 1162
Merit: 237
Shooters Shoot...
June 16, 2020, 03:15:54 PM


65save.txt
20D0900 | 78 C9 C8 0A 68 33 DF 16 81 56 23 A6 92 E5 95 B3 13 C0 67 7C 00 00 00 00 00 00 00 40 00 00 00 00
20D0920 | 00 00 00 00

help
The 65save.txt is where the kangaroo x and jump distances are located. Nothing really to do with the file. The program uses it to keep track of what your machine has done so far and if a good collision occurs, it will solve the problem you are working on. If you are using -wsplit option you will have to merge the files to check for collision unless collision happens in newer smaller reset hashtable.
full member
Activity: 1162
Merit: 237
Shooters Shoot...
June 16, 2020, 03:13:08 PM
-snip-
Yeah, I just wanted something where I had a central server that distributes work to clients and keeps track of ranges checked. Nothing fancy. Not for pooling with others so I wouldn't care about fake work, it would just be me. Just need way to keep track of ranges checked among all workers. And a way to set the intervals/ranges to assign to clients (like you did with 2^20)
@JeanLuc sorry about little offtop in your thread..
@WanderingPhilospher Here is server/client (source and compiled version) for bitcrack, you also need put cu or cl version of Bitcrack.exe to client folder https://drive.google.com/file/d/1pFTvBLwTDF4GZCyDpJHwnWqfuNeOT6Ik
before using app in big range made few test in small interval to make shure that you correct understand params.
Jean Luc, yes sorry, for off topic. Etar - many thanks to you. Will test now!
sr. member
Activity: 642
Merit: 316
June 16, 2020, 03:10:21 PM
-snip-
Yeah, I just wanted something where I had a central server that distributes work to clients and keeps track of ranges checked. Nothing fancy. Not for pooling with others so I wouldn't care about fake work, it would just be me. Just need way to keep track of ranges checked among all workers. And a way to set the intervals/ranges to assign to clients (like you did with 2^20)
@JeanLuc sorry about little offtop in your thread..
@WanderingPhilospher Here is server/client (source and compiled version) for bitcrack, you also need put cu or cl version of Bitcrack.exe to client folder https://drive.google.com/file/d/1pFTvBLwTDF4GZCyDpJHwnWqfuNeOT6Ik
before using app in big range made few test in small interval to make shure that you correct understand params.(-dp 3 means that the entire range will be divided into 2^3=8 subranges)
full member
Activity: 1162
Merit: 237
Shooters Shoot...
June 16, 2020, 02:38:07 PM
-snip-
Can you share client/server program?
My programm is not so good as used at pool.
They have it more thought out. There, for example, the client is looking for not only the key to the puzzle but also other addresses, this is done so that it is impossible to fake the work.
My program is simpler and it’s very easy to fake the work sent to the server. Therefore, I do not think it makes sense to spread it.
i devide range to a 2^20 intervals and in random way distribute it to clients. Each interval 2^43 calculated in 2.5h at 1x2080ti
Yeah, I just wanted something where I had a central server that distributes work to clients and keeps track of ranges checked. Nothing fancy. Not for pooling with others so I wouldn't care about fake work, it would just be me. Just need way to keep track of ranges checked among all workers. And a way to set the intervals/ranges to assign to clients (like you did with 2^20)
newbie
Activity: 27
Merit: 0
June 16, 2020, 02:21:58 PM
USE PM For your qeschion !!! I tried to read it, but after that the program did not start. If you can throw off in the form of examples, lay out the work of the program. Indeed, if a person with a development of 14 years does not study, then he will remain 14 years old. After all, you all know share your knowledge.
 Windows 7, Win64.
C \ windows \ system32 \ cmd.exe
C: \ USERS \ GAM> "D: BTC \ Kangaroo.exe" Nothing happens.
If I immediately start Kangaroo.exe, the Windows 7 Command Prompt (CMD) appears and closes immediately. How to make the program work? Javascript: void (0);

Do this so you know it works on your machine / rig:

copy the below text, paste in notepad, and save it as a .bat file. Save it as kangarootest.bat

if you only have CPU
Code:
Kangaroo.exe -t 4 -d 14 -w 65save -wi 30 65.txt

pause

if you have GPU:
Code:
Kangaroo.exe -t 0 -d 14 -gpu -gpuId 0 -w 65save -wi 30 65.txt

Again, copy and paste that into a text document and save as kangarootest.bat

Now, copy the below text and save it as 65.txt
Code:
10000000000000000
1FFFFFFFFFFFFFFFF
0230210c23b1a047bc9bdbb13448e67deddc108946de6de639bcc75d47c0216b1b

make sure each line is it's own line ... a total of 3 lines. Save it as 65.txt

Now, place the kangarootest.bat file, the 65.txt file, and the Kangaroo.exe file all in the same folder.
Double click or select the kangarootest.bat file and the program will start.
It may tell you that you do not have a certain file called, "vcruntime140_1". If that's the case, Google that file, download it and place it in the same folder as the other files. Now, double click, select the kangarootest.bat file and it should work.

Let us know.
Thank you very much for the help. After I received a reply in the file 65save.txt
In three minutes I received just such an answer, and then please help.

65save.txt
20D0900 | 78 C9 C8 0A 68 33 DF 16 81 56 23 A6 92 E5 95 B3 13 C0 67 7C 00 00 00 00 00 00 00 40 00 00 00 00
20D0920 | 00 00 00 00

help
member
Activity: 873
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
June 16, 2020, 02:11:06 PM
Please help me with the program. My posts are higher ... Huh

USE PM For your qeschion !!!
Pages:
Jump to: