An open API service indexing awesome lists of open source software.

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

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