Question
The ciphertext below was encrypted using a substitution cipher. Using letter frequency analysis method of the English language (see Table 1.1 in Sect. 1.2.2), find
The ciphertext below was encrypted using a substitution cipher. Using letter frequency analysis method of the English language (see Table 1.1 in Sect. 1.2.2), find the substitution table (the key), and decrypt the ciphertext into the corresponding plaintext (you should add spaces and punctuations for the plaintext). 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 Table 1.1. This question must be done by computer programs that you write in any computer programing language, but preferably C or C++. Your submssion should include source code ( eg., in .c, .cpp) and running results (the substitution table, plaintext). YFSIT ZYFRG XISYO EMTVS QRHQY SZOTW QCTWZ ISHGE ZTQQY FSGZE YOEQE OSIYO QYQGE ESVSZ GYSKY FSWMK GYSTU GRTKS VTUSG ZYFQU VWEYW GYOIX RGXIS YOEUO SVKDF OEFOQ ISSKS KYTNS SMIGA OXGYO TIGVQ HQYSR QUWIE YOTIO IXRGI HDTIK SZSKD FGYQF GMMSI OIXOI QOKSY FSMVG ISYQE TZSKO QYOIE YUZTR YFSXS TXZGM FOEIT ZYFMT VSDFS ZSGVV YFSVO ISQTU VTIXO YWKSR SSYGY YFSYT MTUYF SDTZV KYFSR GXISY OEMTV SOQYF SMTOI YYFGY GETRM GQQZS ETXIO LSQGQ ITZYF GYYFS RTRSI YOYOQ VTEGY SKUTW ZKSXZ SSQQT WYFTU YFSXS TXZGM FOEIT ZYFMT VSDFO EFVOS QOIYF SGZEY OETES GIGYI OISYH KSXZS SQITZ YFJWY YFGYD GQITY GVDGH QYFSE GQSOI YFSRO KIOIS YSSIY FESIY WZHYF SITZY FRGXI SYOEM TVSUV TGYSK RWEFU WZYFS ZQTWY FZTGR OIXGZ TWIKE GIGKG UTZYF SMGQY TISFW IKZSK UOUYH HSGZQ FTDSA SZYFS MTVSF GQJSS IQMZO IYOIX GDGHU ZTREG IGKGG IKYTD GZKQO JSZOG YFGYE FGIXS TUGKK ZSQQE GIITY JSOXI TZSKX OASIY FGYRG XISYO EETRM GQQSQ QYOVV WIKSZ MOIRT KSZII GAOXG YOTIU ZTRYF SQHQY SRQWQ SKJHE OAOVO GIGIK ROVOY GZHGO ZMVGI SQYTY FTQSY FGYTZ OSIYH TWZOM FTIS
This is the chart
Table 1.1 Relative letter frequencies of the English language Letter Frequency Letter Frequency A 10.08 17 IN 10.0675 10.0150 |0 |0.0751 C 0.0278P 0.0193 )) (MM25 0.0010 E 0.1270 R 0.0599 F 10.0223 Is 10.0633 G 0.0202 T 0.0906 H0.0609 U0.0276 I 0.0697 V0.0098 J0.0015 W 0.0236 |0.0077 |X |0.0015 L |0.0403 |Y |0.0197 M 0.0241Z 0.0007 0.0223 S 0.0633 Table 1.1 Relative letter frequencies of the English language Letter Frequency Letter Frequency A 10.08 17 IN 10.0675 10.0150 |0 |0.0751 C 0.0278P 0.0193 )) (MM25 0.0010 E 0.1270 R 0.0599 F 10.0223 Is 10.0633 G 0.0202 T 0.0906 H0.0609 U0.0276 I 0.0697 V0.0098 J0.0015 W 0.0236 |0.0077 |X |0.0015 L |0.0403 |Y |0.0197 M 0.0241Z 0.0007 0.0223 S 0.0633Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started