Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java Lab Help! Computer Science In this lab is you will gain experience with the methods in the wrapper class Character. You will also explore
Java Lab Help!
Computer Science In this lab is you will gain experience with the methods in the wrapper class Character. You will also explore some of the methods of the String and StringBuilder classes Let us pretend that the company XYZ deals with a lot of sensitive data. Whenever they send clients data over the internet, they encrypt the data. The receiver of the data has a program which decrypts the message, allowing them to read the original information being sent. This way XYZ is able to send sensitive information across the network without any concerns. Due to the restructuring of the engineering staff, the pseudocode for the encryption algorithm has been leaked You have been paid very handsomely by XYZ to try and reverse engineer the encryption process from the pseudocode. They want to see if it is possible to decrypt there messages. You are given the pseudocode and the latest message encrypted using their encryption algorithm. Decryptor + decryptLevelOne(str : String): String + decryptLevelTwo(str : String): String + readMessage( fileName : String): String + main(args : String[]): void Write the class Decryptor.java according to the UML diagram above. You will write 3 custom methods plus the main method. The encryption algorithm has two steps to it. First, the original message gets modified by updating the Unicode decimal values of the individual characters. Then the modified text gets further encrypted by replacing certain characters with other characters, inverting the case of the characters, adding additional characters at the beginning and the end of the message. After all of that the string sequence is reversed and ready to be send. Since you are trying to reverse engineer the process you will have to start on step two of the encryption algorithm, and then after that do step one. Below is the encrypted message. Encrypted Message - Notepad File Edit Format View Help *@GA{VE{C##$w{AEt8{It;wA4 {ztFF{@{ [gw{AVtE6Helf!bStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started