Q2/ Correct the following monoalphabetic code cle clear alphabetic=[abcdefghijklmnopqrstuvwxyz] alpha=lenght(alphabetic); key= l'qwertyuiopasdfghjklzxcvbnm']; line='monoapphabetic cipher';...


Q2/ Correct the following monoalphabetic code<br>cle<br>clear<br>alphabetic=[abcdefghijklmnopqrstuvwxyz]<br>alpha=lenght(alphabetic);<br>key= l'qwertyuiopasdfghjklzxcvbnm'];<br>line='monoapphabetic cipher';<br>In=length(lin);<br>newline=|];<br>for j=1:Ln<br>ch=line(j);<br>[u-loc]=find(alphabetic=ch);<br>if u =0<br>ch=key(loc);<br>end<br>newline=[newline,ch];<br>new line<br>end<br>

Extracted text: Q2/ Correct the following monoalphabetic code cle clear alphabetic=[abcdefghijklmnopqrstuvwxyz] alpha=lenght(alphabetic); key= l'qwertyuiopasdfghjklzxcvbnm']; line='monoapphabetic cipher'; In=length(lin); newline=|]; for j=1:Ln ch=line(j); [u-loc]=find(alphabetic=ch); if u =0 ch=key(loc); end newline=[newline,ch]; new line end

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here