https://github.com/serene-arc/text-autocorrelation-calc
Calculate the autocorrelation of a string of ciphertext over arbitrary periods
https://github.com/serene-arc/text-autocorrelation-calc
autocorrelation cipher ciphertext vigenere vigenere-cipher
Last synced: 3 months ago
JSON representation
Calculate the autocorrelation of a string of ciphertext over arbitrary periods
- Host: GitHub
- URL: https://github.com/serene-arc/text-autocorrelation-calc
- Owner: Serene-Arc
- Created: 2021-08-25T08:30:27.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-05T04:28:57.000Z (almost 4 years ago)
- Last Synced: 2025-02-15T22:29:17.195Z (5 months ago)
- Topics: autocorrelation, cipher, ciphertext, vigenere, vigenere-cipher
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Text Autocorrelation Calculator
This is a simple tool to calculate the autocorrelation of a string of text. This is useful in the cryptanalysis of certain ciphers such as the Vigenere cipher.
The tool can be run with the following command, and outputs to a corresponding output file.
```bash
python3 -m autocorrelationcalc ...
```## Options
The following options are available.
- `-s, --include-spaces` is a flag to include spaces in the analysis of the text; they are otherwise stripped out
- `-c, --case-sensitive` is a flag to keep case intact for the analysis of characters