The skip cipher, also known as the jump cipher, which reorders the letters in a message by skipping a certain number of letters until all the letters have been processed. In the code, I have set it to add in every possible initial character to begin the skip cipher.
- Python 3.6 or higher
- wordninja (pip install wordninja)
- Enter the encrypted message into input.txt file (or use the default message)
- Run the main.py file
- All possible decrypted messages will be saved in output.txt file
- Run to_sentences.py to turn the decrypted messages into sentences
- All possible decrypted sentences will be saved in sentences.txt file
- Run filter_sentences.py to filter the sentences and save the most likely sentences in filtered_sentences.txt file
- Enjoy the newly decrypted messages!
My code is not perfect and terribly inefficient, so it might take a while to decrypt longer messages.