Skip to content

zdarsadze/Encryption-Decryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Encryption-Decryption

A console-based program that encrypts and decrypts text using simple algorithms.


Features

  • Encryption & Decryption of text using:
    • Shift algorithm (Caesar cipher style, A→B→C…)
    • Unicode algorithm (based on character codes)
  • Command-line arguments:
    • -modeenc or dec
    • -key → shift amount
    • -data → direct text input
    • -in / -out → file input/output
    • -alg → algorithm (shift or unicode)
  • Supports both direct input and file input/output
  • Graceful error handling for missing or invalid arguments
  • Default values when arguments are omitted

Technologies & Concepts

  • Java 11+
  • OOP & modular design
  • String and character operations
  • Command-line parsing
  • File I/O (read & write)
  • Error handling and defaults

Example

Encrypt with shift algorithm:

java -jar encryption-decryption.jar -mode enc -key 5 -data "Hello World!" -alg shift

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages