Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROGRAMS MUST BE IN JAVA 3. Write a program of a encryption system as follows. First use the program in 1 to translate the English

PROGRAMS MUST BE IN JAVAimage text in transcribed

3. Write a program of a encryption system as follows. First use the program in 1 to translate the English text to binary strings. Then divide the plaintext (binary strings) into blocks of 16 bitstrings. Each block is divided into Lo and Ro where Lo comprises the first 8 bits and Ro the last 8 bits. Then use the following iterations for 1 Sis2, where f is defined in 2: Li R-1 Ri L-1 f(Ri-1,Ki). The key is a 24-bit binary string. The first round key uses the first 12 bits and the second round key uses the last 12 bits. The output (ciphertext block) is L2R2. 4. Suppose the plaintext is "how do you like computer science" and the key is {101101010010100101101011). Use the above programs to compute the ciphertext. The ciphertext is written in English letters from the correspondence described in 1.). 3. Write a program of a encryption system as follows. First use the program in 1 to translate the English text to binary strings. Then divide the plaintext (binary strings) into blocks of 16 bitstrings. Each block is divided into Lo and Ro where Lo comprises the first 8 bits and Ro the last 8 bits. Then use the following iterations for 1 Sis2, where f is defined in 2: Li R-1 Ri L-1 f(Ri-1,Ki). The key is a 24-bit binary string. The first round key uses the first 12 bits and the second round key uses the last 12 bits. The output (ciphertext block) is L2R2. 4. Suppose the plaintext is "how do you like computer science" and the key is {101101010010100101101011). Use the above programs to compute the ciphertext. The ciphertext is written in English letters from the correspondence described in 1.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions