Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let the alphabet of definition be A = {1,2,3,4,5}; both the plaintext space M and the ciphertext space C consist of strings of length 6

Let the alphabet of definition be A = {1,2,3,4,5}; both the plaintext space M and the ciphertext space C consist of strings of length 6 over this alphabet. a) Define a substitution cipher S on A. Draw a functional diagram of your encryption function, and use S to encrypt the plaintext 132354. [7 marks] b) Define a transposition cipher T on M and use T to encrypt the plaintext 324132. [5 marks] c) Use your answers to parts a) and b) to define the product cipher P = S T and use P to encode the plaintext 351324. [4 marks] d) Construct P1, the inverse of the product cipher you defined in part c), and use it to decrypt the ciphertext 315442.

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

More Books

Students also viewed these Databases questions