Skip to content
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

Added prompt to program_exiting_successful_decoding() in the case tha… #340

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RenTrieu
Copy link

Hello Ares team,

Here is my pull request for issue #134. I've added a hash set in src/storage/mod.rs to hold the different invisible characters, parsed from text files in the src/storage/invisible_chars directory. The idea is that similar to the "dictionaries" text files, the "invisible chars" text files can act as an editable library for what unicode characters are invisible. For now, I've taken the list from https://invisible-characters.com/.

The actual check to see how much of the plaintext is made up of invisible characters is just a simple iterate and count in program_exiting_successful_decoding(). Below, I've attached a picture of how the prompts look in a few of the different cases:

ares_example

Please let me know if I've missed anything or if there are any improvements/changes I should make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant