Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.59 KB

File metadata and controls

54 lines (34 loc) · 1.59 KB

Parallel File Encryptor Decryptor

This project is a parallel file encryptor and decryptor implemented in C++. It allows you to encrypt and decrypt files using multiple threads for improved performance.

Usage

To use this program, follow these steps:

  1. Clone the repository to your local machine.

  2. Navigate to the project directory.

  3. Compile the program by running the following command:

    make
    
  4. Once the program is compiled, you can encrypt a file by running the following command:

    ./encrypt_decrypt
    Enter the directory path: <filePath>
    Enter the action (encrypt/decrypt): encrypt
    

    Replace <filePath> with the path to the file you want to encrypte.

  5. To decrypt a file, use the following command:

    ./encrypt_decrypt
    Enter the directory path: <filePath>
    Enter the action (encrypt/decrypt): decrypt
    

    Replace <filePath> with the path to the encrypted file.

Makefile Commands

The Makefile included in this project provides the following commands:

  • make: Compiles the program.
  • make clean: Removes the compiled program and any generated files.

Please note that this project requires a C++ compiler and the pthread library to be installed on your system.

Output

Encryption

image

Decryption

image