-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Circuit for Removing the Quoted Printable Encoding Newlines in Email Body #202
Conversation
sum_enc[i] <== sum_enc[i - 1] + r_enc[i] * processed[i]; | ||
} | ||
|
||
// Calculate rlc for decoded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking of we need to verify the k characters it got replaced by were zero? Tho I think the random computation should cover but but not sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the RLC takes care of that
Core circuit looks good to me. Can you make it an argument in the main EmailVerifier component arguments and if on, then apply it to the body string? Also, have you tested it on real emails at all? I'm not convinced they all use \r. |
Description
This PR adds a helper circuit which proves the removal of soft line breaks introduced in Quoted Printable Encoding. Aims to resolve #187. Note this does not undo all character encodings, just newlines.
Type of Change
Checklist: