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 MIPS32 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 plain-text message for encryption, whereas the data is a hexadecimal string (i.e., a string of hexadecimal digits) for decryption.
Finally, the program asks for plain-text password to use for encryption or decryption. An example of how the inputs and outputs should be handled is shown in Figure 2. 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 double-qoutes, as shown in Figure 2.
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 pseudo-instructions as they are not universally supported by every assembler.
Choose an operation (e = encrypt, d = decrypt): e
What is the message to encrypt? Ans Q5(c)= Oxdeadbeef
Password to use: SuperSecretP0asu0rd!
Encrypted Message ="af2d7809efef01575802ea099d6a475f6f204f5f6129a949"
Choose an operation (e = encrypt, d = decrypt): d
What is the message to decrypt? af2d7809efef01575802ea099d6a475f6f204f5f6129a949
Password to use: SuperSecretP0asw0rd!
Decrypted Message = "Ans Q5(c)= Oxdeadbeef"
The main deliverable of the programming

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!