File Encryptor is a C++ application that allows users to encrypt and decrypt files in a specified directory.
- Recursive directory traversal
- File encryption and decryption
- Command-line interface for user input
- Process management for handling multiple files
- C++17 compatible compiler (e.g., GCC, Clang, MSVC)
- Make (for building the project)
To build the project, navigate to the project directory and run:
This will create two executables:
encrypt_decrypt
: The main applicationcryption
: A standalone encryption/decryption tool
Run the encrypt_decrypt
executable:
You will be prompted to enter:
- The directory path containing files to encrypt/decrypt
- The action to perform (encrypt or decrypt)
Run the cryption
executable:
(Note: Additional usage instructions for the standalone tool may be needed)
main.cpp
: Entry point for the main applicationsrc/app/processes/
: Contains process management codesrc/app/fileHandling/
: Handles file I/O operationssrc/app/encryptDecrypt/
: Contains encryption and decryption logic
The encryption key is stored as an environment variable. Make sure to set this variable before running the application.
To remove all built files: make clean