Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose we define an encryption scheme as follows. The key will be four elements k1,k2,k3 and k4 in Z26 . The message space will be

Suppose we define an encryption scheme as follows. The key will be four elements k1,k2,k3 and k4 in Z26 . The message space will be sequences of elements of of length 6. The ciphertext space will be the same as the message space.

The encryption algorithm is the following. Given a key and and a message , the corresponding ciphertext is , where:

b1 = k1a1 + k2a2 (mod 26)

b2 = k3a1 + k4a2 (mod 26)

b3 = k1a3 + k2a4 (mod 26)

b4 = k3a3 + k4a4 (mod 26)

b5 = k1a5 + k2a6 (mod 26)

b6 = k3a5 + k4a6 (mod 26)

Suppose you know that the message SIXWIG (thought of as a sequence of numbers in ) corresponds to the ciphertext IGPXUY.

1. Write down the system of equations in the unknowns k1,k2,k3 and k4 that you must solve to recover the key from the known plaintext-ciphertext pair.

2. What numbers in Z26 have multiplicative inverses mod 26?

3. Use your answer to Q2 to solve for one of the key variables.

4. Recover the key used to produce the known plaintext pair.

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_2

Step: 3

blur-text-image_3

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

Modern Database Management

Authors: Heikki Topi, Jeffrey A Hoffer, Ramesh Venkataraman

13th Edition

0134773659, 978-0134773650

Students also viewed these Databases questions