We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5df46fc + 49ba405 commit ee91610Copy full SHA for ee91610
src/main/java/App.java
@@ -0,0 +1,13 @@
1
+import java.io.Console;
2
+
3
+public class App {
4
+ public static void main(String[] args){
5
+ Console myConsole = System.console();
6
+ System.out.println("Enter the text to Encrypt: ");
7
+ String input = myConsole.readLine();
8
+ CaesarShift encDec = new CaesarShift();
9
+ System.out.println("Input String: " + input);
10
+ System.out.println("Encrypted: " + encDec.encrypt(input));
11
+ System.out.println("Decrypted String: "+encDec.decrypt(encDec.encrypt(input)));
12
+ }
13
+}
0 commit comments