Question: 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 

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

1 Expert Approved Answer
Step: 1 Unlock

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... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!