Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caesar Cipher Project

C++ program to encrypt/decrypt text files using Caesar cipher (shift by 2).

Versions

  • Normal (single-threaded)
  • Process-based (fork)
  • Multithreaded (threads + semaphores) — fastest

Usage (Ubuntu)

git clone https://github.com/alahmad-loay2/encryption-project.git

cd to directory ./normal-way ./multi-process ./multi-thread

or g++ to re create executables

results

multi threading version was the fastest due to having a shared memory and not being a cpu intesive task

Alt text

Alt text

Alt text


Go to Top

About

Caesar Cipher Encryption in C++ — Built and tested on Ubuntu using multithreading, multiprocessing, and standard methods. Designed for Linux systems.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages