Skip to content

Herramienta de línea de comandos desarrollada en Python para el análisis y descifrado de cifrados simples de sustitución. Permite realizar sustituciones manuales y automáticas, y cuenta con estadísticas y herramientas de ayuda para el análisis de textos cifrados.

License

Notifications You must be signed in to change notification settings

danielfeitopin/monoalphabet-cipher-breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Monoalphabet Cipher Breaker

Python License: MIT GitHub issues GitHub stars

This repository contains a Python program for decoding a substitution cipher text using frequency analysis and letter substitution.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Python 3.9 or above.

Installation

Clone this repository

git clone https://github.com/danielfeitopin/monoalphabet-cipher-breaker.git

Change directory to the cloned repository

cd monoalphabet-cipher-breaker

Usage

The program can be run using the following commands:

Linux

python monoalphabet_breaker.py <path_to_cipher_file>

Windows

monoalphabet_breaker.py <path_to_cipher_file>

How It Works

The program performs the following steps:

  • Reads the cipher text file.
  • Analyzes the text for letter frequencies and statistics.
  • Prompts the user for substitution commands to decode the text.
  • Displays the substituted text and the substitution table.

Help

Commands:
help: Show this help menu.
set a b: Includes 'a' as the plain text key with value 'b' in the confirmed dict.
unset a: Removes key 'a' from confirmed dict.
exit: Quit the program.

Contributing

Contributions are welcome! If you have improvements, bug fixes, or new modules to add, feel free to submit a pull request.

License

The content of this repository is licensed under the MIT License.

Contact

Feel free to get in touch with me!

GitHub LinkedIn

About

Herramienta de línea de comandos desarrollada en Python para el análisis y descifrado de cifrados simples de sustitución. Permite realizar sustituciones manuales y automáticas, y cuenta con estadísticas y herramientas de ayuda para el análisis de textos cifrados.

Topics

Resources

License

Stars

Watchers

Forks

Languages