Inspiration
I'm a big fan of puzzlehunts, but often puzzles with encoded messages require you to recognize the encryption algorithm, which can be difficult for newcomers (and a hassle for veterans). This project allows one to input the encoded text and it will spit out the decoded text with the most likely decryption method.
What it does
This project receives an input of text and then tries multiple decipher algorithms at once and returns the most likely deciphered text based on maximizing English letter frequency analysis scores.
How I built it
I used Flask to use as a website where people can input text. I used Python to write the algorithms, which are:
- Convert uppercase/lowercase letters to Binary to ASCII (and inverted variant)
- Convert uppercase/lowercase letters to Binary to Morse (and inverted variant)
- Convert vowels/consonants to Binary to ASCII (and inverted variant)
- Convert vowels/consonants to Binary to Morse (and inverted variant)
- Convert phrases with only two unique letters to Binary (and inverted variant)
- Convert phrases with only two unique letters to Morse (and inverted variant)
- Caesar Cipher for all letter shifts
- Octal to ASCII
- Decimal to ASCII
- Hexadecimal to ASCII
- Base32 Hex to ASCII
- Base32 RFC4648 to ASCII
- zBase32 to ASCII
- Crockford's Base32 to ASCII
- Bitcoin Base58 to ASCII
- Base64 to ASCII
- Base64 with uuEncoding to ASCII
- Affine Cipher Decryption for all coefficients
- Number to Letter decipher (1=A, 2=B, ...)
- Railfence "Zig-Zag" Cipher
Challenges I ran into
This was my first time programming in Python, and also my first time using Flask. A big hurdle was getting comfortable with Flask, and a smaller hurdle was remembering to use Python syntax instead of C syntax.
Another challenge was actually typing up the algorithms. Some of them, particularly the Railfence Cipher, were challenging to code, especially after staying up for 24 hours! Check out a picture I snapped of how I brainstormed how to approach this problem:

Accomplishments that I'm proud of
I was extremely proud that I actually had a working product at the end of my work. This was my first Hackathon, so I was nervous about how I would do. I was super proud that I ended up with a project that actually worked!
What I learned
Python, Flask, Decipher methods
What's next for decipher
Layout is finished! Now I just need to add more decipher algorithms to my heart's content.

Log in or sign up for Devpost to join the conversation.