Question: The main deliverable of the programming assignment is a MIPS 3 2 assembly file that implements a program. The program asks the user for requested
The main deliverable of the programming assignment is a MIPS assembly file that implements a program. The program asks the user for requested operation e for encryption and d for decryption
The program then asks the user for the data to encrypt or decrypt; the data is a plaintext message for encryption, whereas the data is a hexadecimal string ie a string of hexadecimal digits for decryption.
Finally, the program asks for plaintext password to use for encryption or decryption. An example of how the inputs and outputs should be handled is shown in Figure Please, pay attention to the format
of the output. The output of the program should be the last line with either: Encrypted Message
or Decrypted Message The output strings should be between doubleqoutes, as shown in Figure
Testing and VerificationYou should spend a lot of effort writing testing and verification for your program. Make sure that you test every corner case you can think of Also, verify your
implementation with different emulators. Possible emulators: SPIM, jsSPIM, or QEMU. As usual,
refrain from using pseudoinstructions as they are not universally supported by every assembler.
Choose an operation e encrypt, d decrypt: e
What is the message to encrypt? Ans Qc Oxdeadbeef
Password to use: SuperSecretPasurd
Encrypted Message afdefefeadaffffa
Choose an operation e encrypt, d decrypt: d
What is the message to decrypt? afdefefeadaffffa
Password to use: SuperSecretPaswrd
Decrypted Message "Ans Qc Oxdeadbeef"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
