answer the following questions B Microsoft Word-Situatio x S1 Fomalo coochos:Why
ID: 3808658 • Letter: A
Question
answer the following questions
B Microsoft Word-Situatio x S1 Fomalo coochos:Why ara x a sakaieURI:csc 110 Spri.. x o labTaypto 17-labr cry.. x Search https sakai. uriedu/access/lessonbuilderitem/11778635/group/e3dbb580-16f5-490f-aft0-88196032a87c/Labs/Lab 7-Cryptog rithms -10 28 /lab7-cryp A Most visited e Getting started D t Affine Cipher (4 pts) 510 11 12 13 14 15 16 The Affine cipher is a mple substitution cipher that is similar to the Caesar cipher. The 'key' for the Affine cipher consists of 2 numbers, we'll call them a and b. We assume the use of a 26 character alphabet (m 26. a sh ould be chosen to be relatively prime to m e a should have no factors n common with m). The algorithm for computing the Affine cipher is: o For each letter in the plaintext Convert the letter to the corresponding number p (see table above). Compute the cipher numberusing the formula c ap b (mod m) Find the cipher letter in the alphabet that corresponds to th number c. e Append the cipher letter to thecipher text you are generating a Practice encrypting with the Affine cipher Given the following plaintext messages, compute the Affine cipher with a -9and b-4 (m is 26 since we have an alphabet of26 lettersO Plaintext Ciphertext attack atdawn retreatnoWExplanation / Answer
Okay so we have the formula c=(ap+b) mod 26, as m=26.
Now we need to use the value of the letters instead of p using the given table above.
Applying the formula c=(ap+b) mod 26, for each and every letter of the plain Text.
So, after finding the value of C and using the table to find the corresponding letter we get the following Cipher Text for the requested Plain Text
So, the cipher text to the plain text using the values of a=9 and b=4 is Given Below
attackatdawn will have the Cipher Text as ettewqetfeur
retreatnow will have the Cipher Text as botboetrau
This is all for the question
Thank You for using Chegg...
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.