Question

In: Computer Science

Using the English alphabet (i.e., mod 26 arithmetic) let plaintext = {p1, p2,… , pn} and...

Using the English alphabet (i.e., mod 26 arithmetic) let plaintext = {p1, p2,… , pn} and corresponding ciphertext = {c1, c2,… , cn}. Suppose the encryption function is  ci = pi + 12 (mod 26), what should be the decryption function. If you receive the ciphertext message YMDWNQXX, decrypt to recover the plaintext. What is the decryption function, and the recovered plaintext?  

Solutions

Expert Solution



Related Solutions

The English alphabet has 26 letters. There are 6 vowels. (a, e, i, o, u, and...
The English alphabet has 26 letters. There are 6 vowels. (a, e, i, o, u, and sometimes y). Suppose we randomly select 8 letters from the alphabet without replacement. Let X = the number of vowels chosen (including y as a vowel). a. How many possible ways are there to select the 8 out of 26 letters (order does not matter) without replacement? b. What is the probability that X = 2 c. What is the probability that X=1? d....
Prove using induction: If F is any field and f(x)=p1(x)p2(x)...pn(x) is a nonconstant polynomaial of the...
Prove using induction: If F is any field and f(x)=p1(x)p2(x)...pn(x) is a nonconstant polynomaial of the field, f an element of F, and p1,...,pn are irreducible factors of the field. Then, there exists a field L such that f factors into linear factors over L. Hint: start with p1(x) to prove that F is a subset of some K1=F[x]/((p1)) , then induct.
Let B = (p0, p1, p2) be the standard basis for P2 and B = (q1,...
Let B = (p0, p1, p2) be the standard basis for P2 and B = (q1, q2, q3) where: q1 = 1 + x , q2 = x + x 2 and q3 = 2 + x + x 2 1. Show that S is a basis for P2. 2. Find the transition matrix PS→B 3. Find the transition matrix PB→S 4. Let u = 3 + 2x + 2x 2 . Deduce the coordinate vector for u relative to...
Let P = (p1,...,pn) be a permutation of [n]. We say a number i is a...
Let P = (p1,...,pn) be a permutation of [n]. We say a number i is a fixed point of p, if pi = i. (a) Determine the number of permutations of [6] with at most three fixed points. (b) Determine the number of 9-derangements of [9] so that each even number is in an even position. (c) Use the following relationship (not proven here, but relatively easy to see) for the Rencontre numbers: Dn =(n-1)-(Dn-1 +Dn-2) (∗) to perform an...
For developing countries in Africa and the Americas, let p1 and p2 be the respectiveproportions of...
For developing countries in Africa and the Americas, let p1 and p2 be the respectiveproportions of babies with a low birth weight (below 2500 grams). A randomsample of n1 = 2000 African women yielded y1 = 750 with nutritional anemia anda random sample of n2 = 2000 women from the Americas yielded y2 = 650 womenwith nutritional anemia. We shall test H0: p1 = p2 against the alternative hypothesisH1: p1 > p2 at α = 0.05. 1. What is the...
For developing countries in Africa and the Americas, let p1 and p2 be the respective proportions...
For developing countries in Africa and the Americas, let p1 and p2 be the respective proportions of babies with a low birth weight (below 2500 grams). A random sample of n1 = 2000 African women yielded y1 = 750 with nutritional anemia anda random sample of n2 = 2000 women from the Americas yielded y2 = 650 women with nutritional anemia. We shall test H0: p1 = p2 against the alternative hypothesis H1: p1 > p2 at α = 0.05.
Let p1 and p2 be the respective proportions of women with iron-deficiency anemia in each of...
Let p1 and p2 be the respective proportions of women with iron-deficiency anemia in each of two developing countries. A random sample of 2000 women from the first country yielded 439 women with iron-deficiency anemia, and an independently chosen, random sample of 1700 women from the second country yielded 316 women with iron-deficiency anemia. Can we conclude, at the 0.05 level of significance, that the proportion of women with anemia in the first country is greater than the proportion of...
Let P1 = number of Product 1 to be produced P2 = number of Product 2...
Let P1 = number of Product 1 to be produced P2 = number of Product 2 to be produced P3 = number of Product 3 to be produced P4 = number of Product 4 to be produced Maximize 15P1 + 20P2 + 24P3 + 15P4 Total profit Subject to 8P1 + 12P2 + 10P3 + 8P4 ≤ 3000 Material requirement constraint 4P1 + 3P2 + 2P3 + 3P4 ≤ 1000 Labor hours constraint P2 > 120 Minimum quantity needed for...
Let P1 = number of Product 1 to be produced P2 = number of Product 2...
Let P1 = number of Product 1 to be produced P2 = number of Product 2 to be produced P3 = number of Product 3 to be produced P4 = number of Product 4 to be produced Maximize 15P1 + 20P2 + 24P3 + 15P4 Total profit Subject to 8P1 + 12P2 + 10P3 + 8P4 ≤ 3000 Material requirement constraint 4P1 + 3P2 + 2P3 + 3P4 ≤ 1000 Labor hours constraint P2 > 120 Minimum quantity needed for...
Let pi = P(X = i) and suppose that p1 + p2 + p3 + p4...
Let pi = P(X = i) and suppose that p1 + p2 + p3 + p4 = 1. Suppose that E(X) = 2.5. (a) What values of p1, p2, p3, and p4 maximize Var(X)? (b) What values of p1, p2, p3, and p4 minimize Var(X)?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT