https://github.com/cerchie/go-cipher
monoalphabetic substitution cipher translation
https://github.com/cerchie/go-cipher
Last synced: about 1 month ago
JSON representation
monoalphabetic substitution cipher translation
- Host: GitHub
- URL: https://github.com/cerchie/go-cipher
- Owner: Cerchie
- Created: 2021-08-17T14:00:43.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-17T20:27:48.000Z (almost 5 years ago)
- Last Synced: 2026-05-13T10:49:58.938Z (about 2 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The aim of this project is to provide solutions to English text encoded monoalphabetically.
I'll use the [frequencies discovered by Beker and Piper](https://www.nku.edu/~christensen/092mat483%20Friedman%20test%20summary.pdf).
> 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:
1. Learn how frequency counter solutions are implemented in golang, and identify what aspects I'll need to change for my problem.
2. 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?
3. 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:
1. coercing capital letters and filtering out non-letters