Severity: Warning
Message: fopen(/tmp/ci_sessiondkn8q6d3d9esm2k8ov8p7tcmm1047g71): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
By Khushi Jain
This is a Java Project to Encrypt/Decrypt a text using Caesar Cipher with more than one key.
In Caesar Cipher Method, each letter of a plain text is shifted by some fixed alphabets. It is the simplest encryption/decryption technique. Also, it works only with alphabets.
In this project, I have created a mixed Caesar cipher using JAVA in which we have to input three keys. Keys input can be either for a left shift or a right shift. The keys are repeated in order to match the length of plaintext/ciphertext just like the Vigenere cipher.
This project is very convenient to encrypt/decrypt the text as one cannot guess which cipher we used.
Encryption
Let's say, we inputted three keys,
key1 = -2,
key2 = 1,
key3 = 2,
and the plain text is "HELLOWORLD". So, the ciphertext we obtained is "FFNJPYMSNB".
Decryption
Ciphertext: FFNJPYMSNB
shift: -2, 1, 2
Plaintext: HELLOWORLD
This project is developed by IntelliJ IDEA.


Submitted by Khushi Jain (Khushi268)
Download packets of source code on Coders Packet
Comments