Solution of team mh+mg#2
Open
mhanysz wants to merge 4 commits into
Open
Conversation
Solves challenge 1A by brute forcing an xor with one character on all characters in the cyphertext. A scoring function sorts the results by readability (number of characters and spaces), so that the plain text candidate with the highest score is printed last.
Solves challenge 1B by shifting each character of the cyphertext by a certain length via brute force. The plain text candidates are again sorted by their score and the right candidate shows up in the top 15 candidates. It still contains some special characters though, which may be the result of an imperfect decyphering.
ca7595c to
9dded70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.