This project demonstrates the usage of parent-child processes and Caesar Cipher algorithm to encrypt text using C language. The parent process sends an ordinary pipe to the child process, which encrypts the received text using the Caesar Cipher algorithm with 4 threads in parallel. The encrypted text is stored in a shared memory and is finally read by the parent process and displayed on the screen.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- A compiler that supports C11 or later
- GCC (GNU Compiler Collection)
A step by step series of examples that tell you how to get a development env running:
- Clone the repository to your local machine using the following command:
git clone https://github.com/salihozkara/Encrypted-Text-Generator-using-Parent-Child-Processes-and-Caesar-Cipher-Algorithm.git
- Compile the code using GCC:
gcc -pthread -o <executable_file_name> main.c
- Run the executable file:
./<executable_file_name>
- Salih Özkara - salihozkara
This project is licensed under the MIT License - see the LICENSE file for details