Skip to content

Decryption of classical ciphers based on the Metropolis Algorithm.

License

Notifications You must be signed in to change notification settings

afelix-95/decoder

Repository files navigation

Decoder

This project performs the decryption of classical ciphers using the Metropolis Algorithm.

Instructions

  • In order to compile the files, you'll need to have Python installed.
  • The script used in this project also needs the package numpy, which can be added with the following commands:
# Best practice, use a virtual environment rather than install in the base env
python -m venv venv
.venv\Scripts\activate
# The actual install command
pip install numpy
  • The repository already has a probability matrix file and some encoded texts to run as an example.
  • The script should work with any encrypted text, as long as the cipher used to encrypt it was a simple substitution cipher, transposition cipher or substitution-plus-transposition product cipher.

About

Decryption of classical ciphers based on the Metropolis Algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages