Question: Computer Science question Java programming 4. (50%) Write a computer program for a block cipher that encrypts 64-bit blocks by XORing every block with the
4. (50%) Write a computer program for a block cipher that encrypts 64-bit blocks by XORing every block with the key xFFF44FFOOF444004. Hint: If the cleartext has a block that is less than 64-bit, stuffing the rest of the bits in the block such that the resulting code is x00 for each character. For example, you can XOR x04 with x04 to get x00. You don't need to write program to decrypt the ciphertext
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
