/ceasercipher

Caesar Cipher

Primary LanguageJava

Caesar Cipher

Java implementation of the Caesar cipher encryption and decryption.

Features

  • Encrypts text using the Caesar cipher.
  • Decrypts text using the Caesar cipher.
  • Shifting characters by a provided number
  • A command-line interface for encryption and decryption.
  • Contains testing for the application

Getting Started

Prerequisites

  • Maven version 3.9.4:

Usage

  1. Clone this repository to your local machine:
      git clone https://github.com/cosmasnyairo/ceasercipher.git
  2. Build the package
      mvn clean package
  3. Run the jar file
      java -jar target/CaesarCipher-1.0.jar
  4. Run the tests:
      mvn test