Skip to content

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".

License

Notifications You must be signed in to change notification settings

DanielSambu100/cli-caesarCipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cli-caesarCipher

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

Setup Instructions and Installation

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

Technologies Used

Java

JUnit4

CLI

User Stories

The system;

  • Takes a string as input

  • Transforms and displays an encrypted string code

  • Display a depcryted string

BDD

  • Carry out unit test cases on the two project classes, each with its own test file, using the Red,Green,Refactor workflow.

Known Bugs

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

License

MIT License attached.

Copyright (c) 2022, Dansam Sons Ltd. All rights reserved!

About

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".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages