Answered step by step
Verified Expert Solution
Question
1 Approved Answer
File C: 'HBNDERKERMFTSRZOVLKVEMDQRHRZFSOKARERHKVUKARHRXRSKMRPRSAFQDSXFHJROPRKVTEDKROVTSKARTAVMRYFEKDLNMFEHFIVNKKERFHNERDHMFSOUEVPKARIRXDSSDSXKVKARRSOJRRYDSXSVKADSXIFLJINKKARIRFEDSXHVUKARDHMFSOFSOKAFKVSMZIRLFNHRKARERDHHKDMMKERFHNERSVKZRKMDUKRODKFJRNYPZYRSDSKARZRFEVUXEFLRFSOXVIFLJKVKARKDPRTARSPZUFKAREJRYKKARFOPDEFMIRSIVTDSSFSOKARIEVTSVMOHRFPFSTDKAKARHFIRELNKUDEHKKVVJNYADHMVOXDSXNSOREVNEEVVU' 4. (9 marks) The following text has been encrypted using an affine cipher. HBNDERKERMFTSRZOVLKVEMDQRHRZFSOKARERHKVUKARHRXRSKMRPRSAFQDSXFHJROPRKVTEDKROVTSK ARTAVMRYFEKDLNMFEHFIVNKKERFHNERDHMFSOUEVPKARIRXDSSDSXKVKARRSOJRRYDSXSVKADSXIFLJ INKKARIRFEDSXHVUKARDHMFSOFSOKAFKVSMZIRLFNHRKARERDHHKDMMKERFHNERSVKZRKMDUKRODKF J RNYPZYRSDSKARZRFEVUXEFLRFSOXVIFLJKVKARKDPRTARSPZUFKAREJRYKKARFOPDEFMIRSIVTDSSFS OK AR? EVTSVMOHRFPFSTDKAKARHFI RELNKUDEHKKVV
File C:
'HBNDERKERMFTSRZOVLKVEMDQRHRZFSOKARERHKVUKARHRXRSKMRPRSAFQDSXFHJROPRKVTEDKROVTSKARTAVMRYFEKDLNMFEHFIVNKKERFHNERDHMFSOUEVPKARIRXDSSDSXKVKARRSOJRRYDSXSVKADSXIFLJINKKARIRFEDSXHVUKARDHMFSOFSOKAFKVSMZIRLFNHRKARERDHHKDMMKERFHNERSVKZRKMDUKRODKFJRNYPZYRSDSKARZRFEVUXEFLRFSOXVIFLJKVKARKDPRTARSPZUFKAREJRYKKARFOPDEFMIRSIVTDSSFSOKARIEVTSVMOHRFPFSTDKAKARHFIRELNKUDEHKKVVJNYADHMVOXDSXNSOREVNEEVVU'
4. (9 marks) The following text has been encrypted using an affine cipher. HBNDERKERMFTSRZOVLKVEMDQRHRZFSOKARERHKVUKARHRXRSKMRPRSAFQDSXFHJROPRKVTEDKROVTSK ARTAVMRYFEKDLNMFEHFIVNKKERFHNERDHMFSOUEVPKARIRXDSSDSXKVKARRSOJRRYDSXSVKADSXIFLJ INKKARIRFEDSXHVUKARDHMFSOFSOKAFKVSMZIRLFNHRKARERDHHKDMMKERFHNERSVKZRKMDUKRODKF J RNYPZYRSDSKARZRFEVUXEFLRFSOXVIFLJKVKARKDPRTARSPZUFKAREJRYKKARFOPDEFMIRSIVTDSSFS OK AR? EVTSVMOHRFPFSTDKAKARHFI RELNKUDEHKKVV JNYADHMVOXDSXNSOREVNEEVV? (You don't need to type this in - download the file C.mat from canvas and load that into matlalb using the command load('C a) Convert the resulting cypher text variable C to a vector cn of integers using chartoint. Plot a histogram of the integers in cn using the Matlab command hist (cn, 0:25) b) Use your histogram to identify the most frequent character and the second most frequent character in the cypher text c) The most frequent character in English is-E and the second most frequent is .T". se this information to help you decypher the affine cypher textStep 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