Question: Given, DESkey = 1 4 9 1 2 ab 9 5 7 e 8 5 ad 9 AESkey = be 7 d 9 c 2

Given, DESkey=14912ab957e85ad9
AESkey= be7d9c2761a0bc3ace04dfa7be3cc5c7
P0= UUUUUUUUEEEEEEEEeeeeeeeeooooooooYYYYYYYYAAAAAAAAUUUUUUUUEEEEEEEE
P1= ooooooooYYYYYYYYAAAAAAAAUUUUUUUUEEEEEEEEeeeeeeeeooooooooYYYYYYYY
P2= UUUUUUUUEEEEEEEEYYYYYYYYAAAAAAAAUUUUUUUUEEEEEEEEYYYYYYYYAAAAAAAA
C3=1a1b9859780de3f9b12dbfef89c042285fdbbc470cb62c66795f619dde871009d8d2aaadc62c44293b3eb988fce21ea01a1b9859780de3f9b12dbfef89c04228
C4=4065c0d5e7e07010dc48ed85b7280cc9029de66325d2bda8671ab4f725b1cc8cdc6db1626902a54f65a8a1987f3d33b04065c0d5e7e07010dc48ed85b7280cc9.
a. Encrypt your first plaintext P0 using your assigned DES key, and present the result
in hexadecimal in your answer file, giving all 128 hex digits.
b. Encrypt your plaintext P0 again, now using your assigned AES key, and give the result in hexadecimal in
your answer file
c. Knowing that your (hex-encoded) ciphertext C3 is also a DES-ECB encryption of your P0, but with a
different unknown key, can you transform your C3 into a DEC-ECB ciphertext that would decrypt, under the
same unknown key, into your plaintext P1? If so, write it down.
d. Same question, but now seeking to transform your C3 into a valid DEC-ECB encryption of your P2(instead of
P1) under the unknown key.
e. Similar question, knowing that your (hex-encoded) ciphertext C4 is an AES128-ECB encryption of your P0
under an unknown key, and you are told to either transform C4 into a valid AES128-ECB encryption of P1
under that unknown key, or indicate infeasible if it is so.
f. Same question, but seeking to transform your C4 into a valid AES128-ECB encryption of your P2(instead of
P1) under the unknown key.

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!