-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double speed for BSGS #19
Comments
that is good point. time ./keyhunt -m bsgs -t 8 -f tests/63.pub -k 512 -s 0 -S -b 63 ./bsgs -t 8 63.txt Done: Total time 02:31 I will try to add your point to my version. |
If you run my program with the data already processed from file it will take less time, the program waste a litte more time writing the files and making checksums. Also it may sound a little cheat but BSGS from JLP divide the whole range in Ranges of the same size. if you notice
That thread goes from 7800000000000000 to 8000000000000000 so the time of 2:31 time is really the time from 7800000000000000 to 7CCE5EFDACCF6808 (other threads also have finished the half of their respectives sub-ranges) I did ad test with the same key data already preloaded check:
I my case that time was efectively from 4000000000000000 to 7cce5efdaccf6808 Now i suggest this publickey, same range
Result:
In my test the key |
You are right. In fact, I have been studying a binary search (judging by subtracting the key to be found from the start key and end key) to quickly find the key to be found. Do you have any good insights? |
Hi) will be version for windows? Tnx.)! |
Hi every one, hi JLP i hope you read this.
Current approach for BSGS is more o less the, example:
Here we covered from 0 to 25
But since negative Numbers have the same X value of positive numbers that mean that our current baby table is also valid for:
Baby step 5 = {-4,-3,-2,-1,0,1,2,3,4}
We can move exclude the 0 for this example and keep some table like:
Baby step 5 = {-5,-4,-3,-2,-1,1,2,3,4,5}
We can handle the Zero element in some especial case, or include it and use an odd baby table,
So to work with this new Baby table we need to rearange the Giant steps just a litle.
Giant step 5 = {5,15,25,35,45}
So we covered a Double Range from 0 to 50 with the same number of Operations, this is double speed.
I already implement this on my tool keyhunt.
The text was updated successfully, but these errors were encountered: