mirror of
https://github.com/openwall/john.git
synced 2026-12-03 20:43:49 +07:00
[GH-ISSUE #1719] RAR OpenCL length-sorting #1132
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Aug 28, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1719
Originally assigned to: @magnumripper on GitHub.
Finally tried this today. I caught a bunch of unrelated bugs while at it.
But the current rough version is very disappointing. It ends up at about 37% of original speed given varying length input (incremental mode -min-len=5, 60 seconds). I really can't see why.
@magnumripper commented on GitHub (Aug 28, 2015):
I wonder if this whole idea is flawed. For SIMD CPU it's a whole other story. But in this case, we'll have say 128K keys and the longest of them will dictate the total run time. No matter how we sort them (and do the shorter ones quicker), the longest one will take a whole lot of time. So maybe we should just completely ignore sorting.
It would be relevant to sort keys if (like in the SIMD case) we collected, say, 4-10x the global work size and then sorted. But that is an outrageous number of keys to keep in memory, it'd be tens of megabytes. I'm starting to think the old code is good and the optimal thing to do is to run a mode than gives you one length at a time. Like mask mode.