Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Requirements: Please write a Java code that will help me decipher this . txt file I have. You need to submit: ( 2 0 points

Requirements:
Please write a Java code that will help me decipher this .txt file I have. You need to submit:
(20 points)The program for obtaining the frequency of each letter and two letter combinations in the
ciphertext.
(15 points) The program to decrypt the document using a key.
You can choose the programming language you like, but you should implement the file processing (e.g. read in
the file in, find the counts and frequency of each letter, replace the ciphertext letter with the plaintext letter in
the file, and then write the tentative plaintext into a file) by yourself instead of just calling one method for
counting the frequency or replacing letters in a file.
(20 points) Your analysis on the key that was used. This can be a word or text document. You should primarily
use the frequency analysis (Single letter frequency and two letter frequency is likely enough) and assist it with
analysis on chosen ciphertext using your knowledge with the English language (refer to the example in Module 1
Slide 52).
(5 points) The decrypted text (plaintext) corresponding to your ciphertext.
image text in transcribed

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

Students also viewed these Databases questions