Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 475 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 475 Bytes

Decipher using Markov Chain Monte Carlo

Code used in my Youtube video : https://www.youtube.com/watch?v=z4tkHuWZbRA

Provided "as is" and without warranties of any kind :-)

I don't do any maintenance on it.

Run create_dictionnary.py once to create the dictionary.data file

Then run decipher_MCMC.py :

  • set COUNT_BIGRAMS = True at least once to create the bigrams file (can then subsequently set to False)
  • text to decipher should be in ciphered_text string (line 58)