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

More liberal decoder input #316

Open
noughtmare opened this issue Nov 12, 2023 · 0 comments
Open

More liberal decoder input #316

noughtmare opened this issue Nov 12, 2023 · 0 comments
Labels

Comments

@noughtmare
Copy link

noughtmare commented Nov 12, 2023

I would like to use this tool for puzzles that provide their ciphertext in non-standard formats, for example there might be a code like this:

00002020100201002111

This can be decoded by converting to Morse code using the rules 0 -> ., 1 -> -, and 2 -> (space):

.... . .-.. .-.. ---

Which then decodes to:

HELLO

Of course this needs to be very robust, for example the input could be encoded with another alphabet:

aaaacacabaacabaacbbb

To implement this, I'm thinking of an adapter that tries to find a mono-alphabetic substitution to map the input alphabet onto the regular Morse code alphabet. It should first check if the input contains less than 5 different types of symbols (dots, dashes, character separator, word separator, line separator) and then try all possible mappings. Trying all possible mappings should not be very hard because only the dots and dashes are relatively difficult to distinguish, all the separators should be easy to spot because they are increasingly far apart.

And I think this should not be limited to just the Morse code decoder, but many of the other similar ciphers.

Would it be possible to implement something like this in Ares?

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

No branches or pull requests

1 participant