a) A ciphertext has been generated with an affine cipher, which is defined as follows: C = (a × P + b) mod 26 where C = ciphertext, P = plaintext, a & b are the key Adversary has the following knowledge: the most frequent letter of the ciphertext is sum of characters in your last name module 26, and the second most frequent letter of the ciphertext is sum of characters in your first name module 26. Break this cipher. If it is not breakable, provide an appropriate justification.   (b) If the cipher is redefined as follows: C = (a × b + P) mod 26 where C, P, a & b are as defined before, and adversary has the same knowledge as before, discuss with appropriate justification whether this new cipher is breakable. ONLY DO PART B.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 19PE
icon
Related questions
Question

(a) A ciphertext has been generated with an affine cipher, which is defined as follows: C = (a × P + b) mod 26 where C = ciphertext, P = plaintext, a & b are the key Adversary has the following knowledge: the most frequent letter of the ciphertext is sum of characters in your last name module 26, and the second most frequent letter of the ciphertext is sum of characters in your first name module 26. Break this cipher. If it is not breakable, provide an appropriate justification.

 

(b) If the cipher is redefined as follows: C = (a × b + P) mod 26 where C, P, a & b are as defined before, and adversary has the same knowledge as before, discuss with appropriate justification whether this new cipher is breakable.

ONLY DO PART B.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Encryption and decryption
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning