1. Write a report in a word file explaining how you did the project 1, also include the screenshots of your code and the output of what you got. 2. Please provide your code link from repl.it.com where I can run your code and see the output you got in Step 1. The ciphertext below was encrypted using a substitution cipher. In your favorite language (in C++ or Python) crack encrypted text below 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 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. b) In order to decrypt the ciphertext look at the table 1.1 below, "Frequency" column and substitute the letters with a 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 the general English language from the table. Try to substitute letters representing its letter frequencies and then try to read the text you obtained and make changes. Please write a detailed report of what you did in each step. Table 1.1 Relative letter frequencies of the English language Letter Frequency Letter Frequency A 0.0817 N 0.0675 0.0150 0.0751 0.0278 0.0193 0.0425 0.0010 0.1270 0.0599 0.0223 0.0633 0.0202 0.0906 0.0609 0.0276 0.0697 V 0.0098 0.0015 W 0.0236 K 0.0077 Χ 0.0015 L 0.0403 Y 0.0197 M |0.0241 Z 0.0007

icon
Related questions
Question
1. Write a report in a word file explaining how you did the project 1, also include the
screenshots of your code and the output of what you got.
2. Please provide your code link from repl.it.com where I can run your code and see the
output you got in Step 1.
The ciphertext below was encrypted using a substitution cipher. In your favorite language (in
C++ or Python) crack encrypted text below 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
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.
b) In order to decrypt the ciphertext look at the table 1.1 below, "Frequency" column and
substitute the letters with a 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 the
general English language from the table. Try to substitute letters representing its letter
frequencies and then try to read the text you obtained and make changes. Please write a
detailed report of what you did in each step.
Transcribed Image Text:1. Write a report in a word file explaining how you did the project 1, also include the screenshots of your code and the output of what you got. 2. Please provide your code link from repl.it.com where I can run your code and see the output you got in Step 1. The ciphertext below was encrypted using a substitution cipher. In your favorite language (in C++ or Python) crack encrypted text below 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 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. b) In order to decrypt the ciphertext look at the table 1.1 below, "Frequency" column and substitute the letters with a 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 the general English language from the table. Try to substitute letters representing its letter frequencies and then try to read the text you obtained and make changes. Please write a detailed report of what you did in each step.
Table 1.1 Relative letter frequencies of the English language
Letter Frequency Letter Frequency
A
0.0817
N
0.0675
0.0150
0.0751
0.0278
0.0193
0.0425
0.0010
0.1270
0.0599
0.0223
0.0633
0.0202
0.0906
0.0609
0.0276
0.0697
V
0.0098
0.0015
W
0.0236
K
0.0077
Χ
0.0015
L
0.0403
Y
0.0197
M
|0.0241
Z
0.0007
Transcribed Image Text:Table 1.1 Relative letter frequencies of the English language Letter Frequency Letter Frequency A 0.0817 N 0.0675 0.0150 0.0751 0.0278 0.0193 0.0425 0.0010 0.1270 0.0599 0.0223 0.0633 0.0202 0.0906 0.0609 0.0276 0.0697 V 0.0098 0.0015 W 0.0236 K 0.0077 Χ 0.0015 L 0.0403 Y 0.0197 M |0.0241 Z 0.0007
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS