Skip to content

gruiick/MCMC

 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%