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.
To use this program, follow these steps:
-
Clone the repository to your local machine.
-
Navigate to the project directory.
-
Compile the program by running the following command:
make
-
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. -
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.
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.