Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 391 Bytes

File metadata and controls

13 lines (7 loc) · 391 Bytes

Java_Caesar_Encoder

This java class provides functionality to shift the string indeces by a fixed amout, to implement the so called caesar cipher.

To use, run the script with

javac Caesar.java

and then issue your command with

java Caesar <STRING YOU WANT TO TRANSFORM> <ENCRYPTION SHIFT AS INT>

it will return the string, with each char shifted by arg[1] in the alphabet