mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2952] Replace the base64 decoder function #1853
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#1853
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 @solardiz on GitHub (Dec 1, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2952
Originally assigned to: @jfoug on GitHub.
Our
base64.[ch]specify no copyright holders nor a license, and the approach used looks rather inefficient (unneeded tinymemcpy, then lots of if's on the different character ranges). I recently optimized a MIME base64 decoder for blists, this is functiondecode_base64()in:http://cvsweb.openwall.com/cgi/cvsweb.cgi/projects/blists/mime.c?rev=HEAD
I am the only copyright holder for it, and it's under our 0-clause BSD. I suggest we reuse it for JtR as well, perhaps replacing only the uses of blists' buffer API with explicit writes to the output buffer - or we can import the buffer API (that's blists'
buffer.[ch]) into JtR as well, if we expect to make more use of it.