[GH-ISSUE #510] Unicode revamp #210

Closed
opened 2026-10-14 02:56:22 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @magnumripper on GitHub (Feb 21, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/510

Re-work and enhance the Unicode/codepage stuff:

  • Instead of options.ascii, options.utf8, options.iso-8859-1 and so on, use a bit-field or an array.
  • Instead of static arrays, allocate and initialize dynamic arrays as needed (when possible).
  • In addition to just enc_to_utf8() and utf8_to_enc(), implement enc1_to_enc2().
  • Implement a --hashed-encoding option. The current --encoding option basically specifies the encoding of the wordlist. This new option would specify what encoding was used when the passwords were hashed. This would make it possible to, for example, use an ISO-8859-1 wordlist as input for an 8-bit format that needs cp850.

Usual rules apply: Do not alter default behaviors, and do not impact performance when not used.

Originally created by @magnumripper on GitHub (Feb 21, 2014). Original GitHub issue: https://github.com/openwall/john/issues/510 Re-work and enhance the Unicode/codepage stuff: - [ ] Instead of options.ascii, options.utf8, options.iso-8859-1 and so on, use a bit-field or an array. - [ ] Instead of static arrays, allocate and initialize dynamic arrays as needed (when possible). - [ ] In addition to just enc_to_utf8() and utf8_to_enc(), implement enc1_to_enc2(). - [ ] Implement a --hashed-encoding option. The current --encoding option basically specifies the encoding of the wordlist. This new option would specify what encoding was used when the passwords were hashed. This would make it possible to, for example, use an ISO-8859-1 wordlist as input for an 8-bit format that needs cp850. Usual rules apply: Do not alter default behaviors, and do not impact performance when not used.
bsakaguchi 2026-10-14 02:56:22 +07:00
Author
Owner

@magnumripper commented on GitHub (Apr 22, 2014):

Most of this is implemented

<!-- gh-comment-id:41072843 --> @magnumripper commented on GitHub (Apr 22, 2014): Most of this is implemented
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#210
No description provided.