Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java plz. This file contains ASCII encoded English characters with capital letters only and no punctuation or spaces. The ciphertext was generated from plaintext

In Java plz.

This file contains ASCII encoded English characters with capital letters only and no punctuation or spaces. The ciphertext was generated from plaintext using the Hill cipher with a block size of two and arithmetic over 26". In this question, you are going to input the file and implement a ciphertext only attack to derive the plaintext by determining the decryption key.

Take the following approach to breaking the cipher.

(a) Write a program to calculate and store the frequencies of all possible 2-character ciphertext blocks. Use common digrams (two-character combinations) to guess at the mapping between likely plaintext blocks and ciphertext blocks. The most likely digrams in English are th, he, in, er, and an in that order. You do not need to know the frequencies of these digrams precisely in general English text, and, of course, in the data you have, the frequencies and relative order may be a little different.

(b) Calculate (by hand if you want) the decryption key for the system following your thoughts from (a).

(c) Now write a program to decrypt the entire ciphertext and identify the source of the plaintext.

Ciphertext:

FUGOMRPKWODRDTJHDTHPQTJDADFKLZDTYFWCDLJD ALRPNNQVPHZDRFMIPPSXWOSWDFUXELKMMGVOGBOD EACSZJJDNDZROFMRAHAERPEAFJTNCZXPUDKQDITN YPFKNFBKOODBZPECFKWYXPGBEACFUQNQECCXSTGC ZDCKGBZRQVFKBKVRIIVRBKZJECUVANJQVRBKQGZR BKDLECNSMGULBKVRIIVRGBFKKLBRGBANKOMGLCEC IZRPNNGJQZDTUVKLRFECDSSFSXKLCAHLTRWUCOFG LNSXWOBKSYKLKDXPNLWUELQEFVQMQEVSJVQMUYKL LDHVXPBKCKCZMEFGDTNFGENYYIDOZDBHOSSCGPCK UVODBKIUFGNFYKQVYMJQYVBXWRPQKELWGBQTWYFJ BHXRCSQEBHBKDTSYCSQBMRPPZPNFBKUQHCMGVUZJ

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

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

What are the main objectives of Inventory ?

Answered: 1 week ago

Question

Explain the various inventory management techniques in detail.

Answered: 1 week ago

Question

Are robots going to displace all workers? Explain your answer.

Answered: 1 week ago