A CLI Java application that implements a Caesar cipher, both encoding, and decoding. The key is an integer from 1 to 25. This cipher rotates the letters of the alphabet (A to Z). The encoding replaces each letter with the 1st to 25th next letter in the alphabet (wrapping Z to A). So key 2 encrypts "HI" to "JK", but key 20 encrypts "HI" to "BC".
Author:Daniel Sambu
Clone this repository to a location in your file system/download zipped file.(git clone https://github.com/DanielSambu100/cli-caesarCipher.git)
Extract the file into folder.
Navigate to the folder of the application.
Open the project with an IDE, preferrably the IntelliJ Idea
Java
JUnit4
CLI
The system;
-
Takes a string as input
-
Transforms and displays an encrypted string code
-
Display a depcryted string
- Carry out unit test cases on the two project classes, each with its own test file, using the Red,Green,Refactor workflow.
The test cases and Java implementation are partially implemented. The application will still be undergoing more modifications as time goes by.
Feel free to contribute towards this project by sending your email to daniel.wanyonyi@student.moringaschool.com
MIT License attached.
Copyright (c) 2022, Dansam Sons Ltd. All rights reserved!