Skip to content

This project encrypts text using the Sezar Cipher algorithm and parent-child processes in C. The child process uses 4 threads to encrypt the text and stores the result in a shared memory. The parent process reads and displays the encrypted text on the screen.

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This project encrypts text using the Sezar Cipher algorithm and parent-child processes in C. The child process uses 4 threads to encrypt the text and stores the result in a shared memory. The parent process reads and displays the encrypted text on the screen.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages