Welcome to Our Project! This repository contains the C code capable of encrypting and decrypting sentences using RSA , Caesar and Playfair algorithm .
"This software system is able to.encrypt and decrypt a given message with Caesar cipher, Playfair cipher or Rivest–Shamir–Adleman (RSA) cipher. This program was written in C and only using Cstandard libraries. The design and ensuing program are modular in nature and make maximum use of abstract data types and of software reuse. Particular attention must be paid to RSA cipher for being “plain RSA”, in other words it’s a pure implementation of the basic RSA algorithm. So please don’t use it for anything other than educational purposes."
-Encryption and decryption using RSA , playfair and caesar algorithms.
-Ability to import and export files in the RSA algorithm.
-Ability to generate p & q in RSA either manually or by entering a password.
-Ability to encrypt and decrypt in Caesar Cipher with positive or negative numbered keys and values from- 2147483647 to 2147483647[-210^9 ,210^9].
-Ability for the user to enter spaces in keys and plaintexts in Playfair cipher.
You just have to run the code through a compiler supporting C.
At first, the user should choose the needed algorithm (RSA , Caesar , Playfair ).
○ The user can either encrypt or decrypt in any algorithm.
○ In RSA, you get to choose whether to encrypt or decrypt by entering p, q manually or entering a password . (Note: the password generates p, q randomly whilst entering p,q manually you must consider both need to be prime. An error message appears if entered p,q aren’t prime or equal to each other ).
You can find the detailed documentation in the PDF file.