When the class EasyCryptoConsole requests to choose between encryption or decryption, it asks to provide encryption method, regardless of whether the user chooses "d" or "e".
In line 25:
String e = console.readLine("Please enter text to be encrypted > ");
The above console output should depend on the input character given in the line 24:
String d = console.readLine("Do you wish to encrypt or decrypt (e or d)? > ");
When the class EasyCryptoConsole requests to choose between encryption or decryption, it asks to provide encryption method, regardless of whether the user chooses "d" or "e".
In line 25: String e = console.readLine("Please enter text to be encrypted > "); The above console output should depend on the input character given in the line 24: String d = console.readLine("Do you wish to encrypt or decrypt (e or d)? > ");
This issue needs to be fixed.