An easy project on encryption and decryption of string in java using comandline arguments.
java Main -mode enc -in road_to_treasure.txt -out protected.txt -key 5 -alg unicode
This command must get data from the file road_to_treasure.txt, encrypt the data with the key 5, create a file called protected.txt and write ciphertext to it.
java Main -mode enc -key 5 -data "Welcome to hyperskill!" -alg unicode
\jqhtrj%yt%m~ujwxpnqq&