Skip to content

This (basic) AES and RSA file encryptor provides functions to encrypt and decrypt files using the AES and RSA cryptography algorithms. It uses a way to encrypt files using a combination of symmetric and assymmetric (AES and RSA respectively) encryption, where AES is used to encrypt the file contents, whereas RSA is used for encrypting the AES key.

Notifications You must be signed in to change notification settings

Kairos-T/AES-RSA-File-Encryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AES-RSA-File-Encryptor

This Python script allows you to encrypt and decrypt files using AES and RSA encryption.

Usage

  1. Clone the repository:

    git clone https://github.com/Kairos-T/AES-RSA-File-Encryptor
  2. Navigate to the project directory

    cd AES-RSA-File-Encryptor
  3. Install the required packages using pip:

    pip install -r requirements.txt
  4. 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 file
    • input_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).

About

This (basic) AES and RSA file encryptor provides functions to encrypt and decrypt files using the AES and RSA cryptography algorithms. It uses a way to encrypt files using a combination of symmetric and assymmetric (AES and RSA respectively) encryption, where AES is used to encrypt the file contents, whereas RSA is used for encrypting the AES key.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages