This repository contains a Python program for encryption and decryption using three different algorithms: MD5, DCL, and RSA. The program provides a simple interface for users to either encrypt or decrypt their data.
Encryption: The program allows users to choose from three encryption algorithms:
Decryption: Users can decrypt data that was encrypted using the MD5 algorithm, given the following conditions:
app.py
: The main program file. Run this script to encrypt data or crack MD5-encrypted data (within the specified constraints).add_hash_to_db.py
: This script adds numbers and their corresponding hashes to the database.data.db
: The SQLite database file where hashed data is stored.dcl.py
: Contains the implementation of the DCL encryption algorithm, which is invoked during the encryption process.functions.py
: Includes utility functions used across the program for better organization and easier access. Functions are imported as needed in the app.py
file.Clone the repository:
git clone https://github.com/j4didi/Encryption-Decryption-with-python.git
Navigate to the repository directory:
cd Encryption-Decryption-with-python
Run the app.py
script:
python app.py
Follow the on-screen prompts to either encrypt or decrypt your data.