The aim of this project is to provide solutions to English text encoded monoalphabetically.
I'll use the frequencies discovered by Beker and Piper.
Consideration: these are from the 20th century and I wonder if the frequencies have evolved since then. I also don't know how large or well-selected the sample text was.
I'm setting the problem of polyalphabetic substitution aside in favor of solving the simpler monoalphabetic substitution cipher first.
I will:
- Learn how frequency counter solutions are implemented in golang, and identify what aspects I'll need to change for my problem.
- Choose how to introduce the Beker/Piper frequencies to my problem. How to store them so I can compare them against the results of my frequency counter?
- Manage edge cases. An easy but maybe not as powerful way would be to manage against length of text.
Things I'm not worrying about yet:
- coercing capital letters and filtering out non-letters