It aims to identify a linguistically sound set of plain texts constructed from a valid permutations of the key for the given monoalphabetic cipher
- Decipher encrypted the notes and conversations
- Identify the unknown encoding schemes in documents
- Archeology for representing ancient manuscripts in modern languages
The HPMACS is the combination of the bellow mentioned algorithms
- Generalized Jakobsen
- AC-3
- Backtracking with Forward Checking
- MCTS ( for ciphers with no spaces )
For running the code a user needs to have python 3.0.
All the libraries are imported in crypt.utils.py
If the user does not have them in the computer, they can install them, using pip install in the terminal. For example:
pip install imparaai-montecarlo
- Download the zip
- Extract the files
- Open the
csp_based_word_replacement_solver.py
file - Change the line bellow
plaintext = "your sentence goes here"
- Run the command
python3 csp_based_word_replacement_solver.py
- Download the zip (with_mcts version)
- Extract the files
- Open mcts.ipynb
- change the following line
cyperedText = "your cipher goes here"
- Run all cells