[GH-ISSUE #866] Update benchmark-unify script #471

Closed
opened 2026-10-14 03:09:40 +07:00 by bsakaguchi · 10 comments
Owner

Originally created by @jfoug on GitHub (Dec 1, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/866

Talked about in #342

Originally created by @jfoug on GitHub (Dec 1, 2014). Original GitHub issue: https://github.com/openwall/john/issues/866 Talked about in #342
Author
Owner

@jfoug commented on GitHub (Dec 1, 2014):

Added to 1.8.0-jumbo1 milestone.

<!-- gh-comment-id:65017447 --> @jfoug commented on GitHub (Dec 1, 2014): Added to 1.8.0-jumbo1 milestone.
Author
Owner

@frank-dittrich commented on GitHub (Dec 1, 2014):

On Sep 11, this was also discussed in #735, the meanwhile closed duplicate of #342, see https://github.com/magnumripper/JohnTheRipper/issues/735#issuecomment-55225983

<!-- gh-comment-id:65038727 --> @frank-dittrich commented on GitHub (Dec 1, 2014): On Sep 11, this was also discussed in #735, the meanwhile closed duplicate of #342, see https://github.com/magnumripper/JohnTheRipper/issues/735#issuecomment-55225983
Author
Owner

@jfoug commented on GitHub (Dec 2, 2014):

Should I 'unify' dual types on 1.8.0 ? Such as:

mschapv2-naive, MSCHAPv2 C/R -> MSCHAPv2, C/R

That way for 1.8.0 there would be 2 identical hashes for MSCHAPv2, C/R and one on 1.7.9-j7 (or whatever version). I think as @frank-dittrich was talking, relbench would take the fastest for comparison.

<!-- gh-comment-id:65240668 --> @jfoug commented on GitHub (Dec 2, 2014): Should I 'unify' dual types on 1.8.0 ? Such as: mschapv2-naive, MSCHAPv2 C/R -> MSCHAPv2, C/R That way for 1.8.0 there would be 2 identical hashes for MSCHAPv2, C/R and one on 1.7.9-j7 (or whatever version). I think as @frank-dittrich was talking, relbench would take the fastest for comparison.
Author
Owner

@frank-dittrich commented on GitHub (Dec 2, 2014):

If they really are the same hash type, they should be mapped to produce the same output.
At least this is what has been done in older releases.
(Exceptions were only made if one format only supported shorter passwords, e.g., was limited to 15 instead of 27 characters...)

<!-- gh-comment-id:65252958 --> @frank-dittrich commented on GitHub (Dec 2, 2014): If they really are the same hash type, they should be mapped to produce the same output. At least this is what has been done in older releases. (Exceptions were only made if one format only supported shorter passwords, e.g., was limited to 15 instead of 27 characters...)
Author
Owner

@jfoug commented on GitHub (Dec 2, 2014):

the chapv2-naive vs chapv2 appears to me to simply be 2 identical types with different signatures. I think bench-unify should map them into 1. Also NT nt2 probably should have the same thing done.

<!-- gh-comment-id:65253752 --> @jfoug commented on GitHub (Dec 2, 2014): the chapv2-naive vs chapv2 appears to me to simply be 2 identical types with different signatures. I think bench-unify should map them into 1. Also NT nt2 probably should have the same thing done.
Author
Owner

@frank-dittrich commented on GitHub (Dec 2, 2014):

On 12/02/2014 05:01 PM, JimF wrote:

the chapv2-naive vs chapv2 appears to me to simply be 2 identical
types with different signatures. I think bench-unify should map them
into 1.

Do they accept each others' hashes as valid?

Also NT nt2 probably should have the same thing done.

Yes.

<!-- gh-comment-id:65254724 --> @frank-dittrich commented on GitHub (Dec 2, 2014): On 12/02/2014 05:01 PM, JimF wrote: > the chapv2-naive vs chapv2 appears to me to simply be 2 identical > types with different signatures. I think bench-unify should map them > into 1. Do they accept each others' hashes as valid? > Also NT nt2 probably should have the same thing done. Yes.
Author
Owner

@jfoug commented on GitHub (Dec 2, 2014):

Do they accept each others' hashes as valid?

yes

<!-- gh-comment-id:65261578 --> @jfoug commented on GitHub (Dec 2, 2014): > Do they accept each others' hashes as valid? yes
Author
Owner

@magnumripper commented on GitHub (Dec 2, 2014):

With "different signatures" I think Jim just meant the label/name. The hashes are the same unless someone screwed up royally. The naive mschapv2 format has a max length of 125 whereas the stunt format has 81 - both are so long we don't have to separate them for that reason. Both NT formats has 27.

<!-- gh-comment-id:65267483 --> @magnumripper commented on GitHub (Dec 2, 2014): With "different signatures" I think Jim just meant the label/name. The hashes are the same unless someone screwed up royally. The naive mschapv2 format has a max length of 125 whereas the stunt format has 81 - both are so long we don't have to separate them for that reason. Both NT formats has 27.
Author
Owner

@magnumripper commented on GitHub (Dec 2, 2014):

whereas the stunt format has 81

I take that back: It's 27 but bumped to 81 (bytes, still 27 characters) for UTF-8. I still think they should be mapped into one.

<!-- gh-comment-id:65267804 --> @magnumripper commented on GitHub (Dec 2, 2014): > whereas the stunt format has 81 I take that back: It's 27 but bumped to 81 (bytes, still 27 characters) for UTF-8. I still think they should be mapped into one.
Author
Owner

@jfoug commented on GitHub (Dec 2, 2014):

8c629dd updated for CPU. There were no unification for GPU stuff. If someone wants to do that, then be my guest. But I vote that this issue (and the relbench issue) are now completed.

<!-- gh-comment-id:65276509 --> @jfoug commented on GitHub (Dec 2, 2014): 8c629dd updated for CPU. There were no unification for GPU stuff. If someone wants to do that, then be my guest. But I vote that this issue (and the relbench issue) are now completed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#471
No description provided.