Python script that breaks ciphers by substitution.
ciphered_text
, in main.py, line 4, is the text to dechipher, you can generate yours with the programm cipher.py
.
proust.txt
is the reference text to calculate bigramms probabilities.
You can change it in main.py, line 11.
MAX_TEST
is the number of iterations the programm will do to search the solution.