Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The ciphertext below was encrypted using a substitution cipher. In your favorite language (in C++ or Python) decrypt the ciphertext without knowledge of the key

The ciphertext below was encrypted using a substitution cipher. In your favorite language (in C++ or Python) decrypt the ciphertext without knowledge of the key using frequency analysis

 lrvmnir bpr sumvbwvr jx bpr lmiwv yjeryrkbi jx qmbm wi bpr xjvni mkd ymibrut jx irhx wi bpr riirkvr jx ymbinlmtmipw utn qmumbr dj w ipmhh but bj rhnvwdmbr bpr yjeryrkbi jx bpr qmbm mvvjudwko bj yt wkbrusurbmbwjk 
lmird jk xjubt trmui jx ibndt 
 wb wi kjb mk rmit bmiq bj rashmwk rmvp yjeryrkb mkd wbi iwokwxwvmkvr mkd ijyr ynib urymwk nkrashmwkrd bj ower m vjyshrbr rashmkmbwjk jkr cjnhd pmer bj lr fnmhwxwrd mkd wkiswurd bj invp mk rabrkb bpmb pr vjnhd urmvp bpr ibmbr 
jx rkhwopbrkrd ywkd vmsmlhr jx urvjokwgwko ijnkdhrii ijnkd mkd ipmsrhrii ipmsr w dj kjb drry ytirhx bpr xwkmh mnbpjuwbt lnb yt rasruwrkvr cwbp qmbm pmi hrxb kj djnlb bpmb bpr xjhhjcwko wi bpr sujsru msshwvmbwjk mkd wkbrusurbmbwjk w jxxru yt bprjuwri wk bpr pjsr bpmb bpr riirkvr jx jqwkmcmk qmumbr cwhh urymwk wkbmvb 
  1. a) Frequency analysis: write a program in C++ or python to compute the relative frequency of all letters A...Z in the ciphertext given above.

  2. b) In order to decrypt the ciphertext look at the table 1.1 below, Frequency column and substitute the letters with more closer number which you obtained in part a. Note that the text is relatively short and that the letter frequencies in it might not perfectly align with that of general English language from the table. Try to substitute letters represented its letter frequencies and then try to read the text you obtained and make changes. Please write detail report what you did in each step.

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

Question

Takes a confident approach to leading the efforts of others.

Answered: 1 week ago