The program allows you to study the simple frequency analysis used in cryptography to crack the most simple ciphers. This is console application
Works in compilers:
- gcc-4.8
- MSVS2015
Work algorithm:
- File coding. If there is already an encoded file, you can skip this step. Note. Implemented simple coding method with linear cyclic shift by a specified value.
- Analysis of the text (large) to create a frequency dictionary (getting a "true statistic vector").
- Analysis of the cipher text to create a frequency dictionary (getting a "false statistic vector").
- Using the tool to automatically replace characters, based on the previously obtained vectors.
Note. For more information use the key: --help
Project structure: