Question: I need a pseudocode and a comprehensive test plan for the source code I posted above. See the the example of the pseudocode. public static











I need a pseudocode and a comprehensive test plan for the source code I posted above. See the the example of the pseudocode.
public static boolean stringlnBounds (String plainText) \{ // throw new RuntimeException("method not implemented"); boolean boundary = true; for (int index =0; index = LOWER_BOUND \&\& plainText.charAt(index) = UPPER_BOUND)) boundary = false; \} return boundary; \} public static String encryptCaesar(String plainText, int key) //throw new RuntimeException("method not implemented") String encryptedText = ""; if (stringlnBounds(plainText)) \{ for (int index=0; index UPPER_BOUND) encryptedCharint -= RANGE; char thisChar = plainText.charAt(index); int encryptedCharint = ((int)thisChar+key); while (encryptedCharint > UPPER_BOUND) \{ encryptedCharint -= RANGE; \} encryptedText += (char)encryptedCharint; \} \} return encryptedText; ) public static String encryptBellaso(String plainText, String bellasoStr) \{ // throw new RuntimeException("method not implemented"); String encrypted Text ="m; int bellasostrLength = bellasoStr.length(); for (int index =0; index (int)UPPER_BOUND) encryptedCharint -= RANGE; while (encryptedCharint > (int)UPPER_BOUND) \{ encryptedCharint -= RANGE; \} encryptedText += (char)encryptedCharint; ) return encryptedText; public static String decryptCaesar(String encryptedText, int key \{ //throw new RuntimeException("method not implemented"); String decryptedText = ""; for (int index =0; index
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
