[GH-ISSUE #639] modify net-md5, net-sha1 formats to use dynamic_39 and dynamic_40 #296

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

Originally created by @jfoug on GitHub (Jun 18, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/639

Originally assigned to: @jfoug on GitHub.

Now that dyna does net-* format (added a new set_pass_pad16 function). But the original formats are not linked to dynamic yet. They should be stripped down, and linked to dyna.

Originally created by @jfoug on GitHub (Jun 18, 2014). Original GitHub issue: https://github.com/openwall/john/issues/639 Originally assigned to: @jfoug on GitHub. Now that dyna does net-\* format (added a new set_pass_pad16 function). But the original formats are not linked to dynamic yet. They should be stripped down, and linked to dyna.
bsakaguchi 2026-10-14 03:00:17 +07:00
Author
Owner

@jfoug commented on GitHub (Jun 19, 2014):

net-md5 done. It is a 'hybrid'. All salts 230 bytes or less are done with dyna_39. This is the 'first' hybrid thin format. I had to figure a few things out to make it work.

Speed is about double.

<!-- gh-comment-id:46600857 --> @jfoug commented on GitHub (Jun 19, 2014): net-md5 done. It is a 'hybrid'. All salts 230 bytes or less are done with dyna_39. This is the 'first' hybrid thin format. I had to figure a few things out to make it work. Speed is about double.
Author
Owner

@jfoug commented on GitHub (Jun 20, 2014):

Added code to get net-sha1 handled (hybrid) by dynamic_40. Now net-md5 uses dynamic_39 if length of salt is 230 bytes or less, and same for net-sha1 (but it uses dynamic_40).

77e5b02 (and 07d62d0)

<!-- gh-comment-id:46702662 --> @jfoug commented on GitHub (Jun 20, 2014): Added code to get net-sha1 handled (hybrid) by dynamic_40. Now net-md5 uses dynamic_39 if length of salt is 230 bytes or less, and same for net-sha1 (but it uses dynamic_40). 77e5b02 (and 07d62d0)
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#296
No description provided.