This Python script allows you to encrypt and decrypt files using AES and RSA encryption.
-
Clone the repository:
git clone https://github.com/Kairos-T/AES-RSA-File-Encryptor
-
Navigate to the project directory
cd AES-RSA-File-Encryptor
-
Install the required packages using pip:
pip install -r requirements.txt
-
Run the script with the following commands:
python app.py <encrypt/decrypt> <input_file> <output_file> <private_key_file>
encrypt/decrypt
: Specify whether you want to encrypt or decrypt the fileinput_file
: Path to the input file you want to encrypt or decrypt.output_file
: Path where the encrypted or decrypted file will be saved.private_key_file
: Path to the RSA private key file for decryption (only required for decryption).