https://github.com/salihozkara/encrypted-text-generator-using-parent-child-processes-and-caesar-cipher-algorithm
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.
https://github.com/salihozkara/encrypted-text-generator-using-parent-child-processes-and-caesar-cipher-algorithm
c caesar-cipher parent-child process
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/salihozkara/encrypted-text-generator-using-parent-child-processes-and-caesar-cipher-algorithm
- Owner: salihozkara
- License: mit
- Created: 2023-01-30T15:17:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T15:30:40.000Z (over 2 years ago)
- Last Synced: 2025-01-18T09:34:37.724Z (4 months ago)
- Topics: c, caesar-cipher, parent-child, process
- Language: C
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
git clone https://github.com/salihozkara/Encrypted-Text-Generator-using-Parent-Child-Processes-and-Caesar-Cipher-Algorithm.git
```2. Compile the code using GCC:
```bash
gcc -pthread -o main.c
```3. Run the executable file:
```bash
./
```## Built With
- [C](https://en.wikipedia.org/wiki/C_(programming_language)) - The programming language used
- [GCC](https://gcc.gnu.org/) - The compiler used## Author
- **Salih Özkara** - [salihozkara](https://github.com/salihozkara)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details