Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.58 KB

File metadata and controls

49 lines (29 loc) · 1.58 KB

Encrypted Text Generator using Parent-Child Processes and Caesar Cipher Algorithm

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

  • A compiler that supports C11 or later
  • GCC (GNU Compiler Collection)

Installing

A step by step series of examples that tell you how to get a development env running:

  1. 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
  1. Compile the code using GCC:
gcc -pthread -o <executable_file_name> main.c
  1. Run the executable file:
./<executable_file_name>

Built With

  • C - The programming language used
  • GCC - The compiler used

Author

License

This project is licensed under the MIT License - see the LICENSE file for details