Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Here is a Python dictionary of the relative frequency of letters in English text: { A: .08167, B: .01492, C: .02782, D: .04253,



 

3. Here is a Python dictionary of the relative frequency of letters in English text: { "A": .08167, "B": .01492, "C": .02782, "D": .04253, "E": .12702, "F": .02228, "G": .02015, "H": .06094, "I": .06966, "J": .00153, "K": .00772, "L": .04025, "M": .02406, "N": .06749, "0": 07507, "P": .01929, "Q": .00095, "R": .05987, "S": .06327, "T": .09056, "U": .02758, "V": .00978, "W": .02360, "X": .00150, "Y": .01974, "Z": .00074 } Here is some plaintext: ethicslawanduniversitypolicieswarningtodefendasystemyouneedtobeabletot hinklikeanattackerandthat includesunderstandingtechniques that canbeusedt ocompromisesecurityhoweverusingthose techniques intherealworldmayviolate thelawortheuniversitysrulesanditmaybeunethical undersome circumstancesev enprobingforweaknessesmayresultinseverepenaltiesuptoandincludingexpuls ioncivilfinesandjailtimeourpolicyineecsisthatyoumustrespecttheprivacya ndpropertyrightsof othersatalltimesorelseyouwill fail the courseactinglawf ullyandethicallyisyourresponsibility carefullyreadthe computerfraudandab useactcfaaafederalstatute thatbroadlycriminalizes computerintrusionthisi soneofseverallaws that governhackingunderstand what thelawprohibitsifindou btwecanreferyoutoanattorneypleasereviewitsspolicies onresponsibleuseoft echnologyresourcesandcaenspolicydocumentsforguidelines concerningproper The population variance of a finite population X of size N and mean u is given by N Var(X) = (x -). (a) What is the population variance of the relative letter frequencies in English text? (b) What is the population variance of the relative letter frequencies in the given plaintext? (c) For each of the following keys-yz, xyz, wxyz, vwxyz, uvwxyz-encrypt the plaintext with a Vigenre cipher and the given key, then calculate and report the population variance of the relative letter frequencies in the resulting ciphertext. Describe and briefly explain the trend in this sequence of variances. (d) Viewing a Vigenre key of length k as a collection of k independent Caesar ciphers, calculate the mean of the frequency variances of the ciphertext for each one. (E.g., for key yz, calculate the frequency variance of the even numbered ciphertext characters and the frequency variance of the odd numbered ciphertext characters. Then take their mean.) Report the result for each key in part (c). Is the mean variance like those observed in part (b)? Part (c)? Briefly explain. (e) Consider the ciphertext that was produced with key uvwxyz. In part (d), you calculated the mean of six variances for this key. Revisit that ciphertext, and calculate the mean of the frequency variances that arise if you had assumed that the key had length 2, 3, 4, and 5. Does this suggest a variant to the Kasiski attack? (Don't say no!) Briefly explain.

Step by Step Solution

3.49 Rating (139 Votes )

There are 3 Steps involved in it

Step: 1

What is the population variance of the relative letter frequencies in English text The population variance of the relative letter frequencies in English text is given by N x 2 VarX N x 2 VarX N x 2 Va... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Mathematics for Business Economics Life Sciences and Social Sciences

Authors: Raymond A. Barnett, Michael R. Ziegler, Karl E. Byleen

12th edition

321614003, 978-0321614001

More Books

Students also viewed these Mathematics questions

Question

=+DJIA on different days of the week? Explain.

Answered: 1 week ago