Skip to content

levnagornov/crypto-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto CLI

API

license standard-readme compliant

Description

This СLI app works with the Caesar cipher. This is one of the simplest and most famous encryption methods.

🛠️ Program functionality:

  • Text encryption using a specific key
  • Text encryption using a random key
  • Decrypting text using a specific key
  • Decrypting text using brute force (searching through all options)
  • (not yet implemented) Decrypting text using statistical text analysis

So, the program opens a text file specified by the user and performs one of the above actions with it, then a new file with the result is created in the same directory.

✨ Other features:

  • SOLID principles usage
  • Design patterns usage: Factory, Command, Template method, Singleton
  • Unit testing

Created by Lev Nagornov.

Table of Contents

Install

  1. Clone the repository using:

    git clone git@github.com:levnagornov/crypto-cli.git
    
  2. Install Java if needed:

    sudo apt update
    sudo apt install default-jdk
    java -version
    
  3. Download and install Maven

  4. Build the project

    cd crypto-cli
    mvn package
    
  5. Run the app

    java -jar target/crypto-cli-1.0-SNAPSHOT.jar
    

Usage

  1. Start the app.
  2. Select options by typing number and hit enter to confirm
  3. Provide an encrypted file
  4. Check result

demo-1


demo-1

Contributing

PRs accepted.

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT © Lev Nagornov.

About

Java CLI app that works with Caesar cipher

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages