4. Consider the cryptosystem in which the integer I associated with a letter is transformed into f(x) = 4.c mod 26
Discrete 4. Consider the cryptosystem in which the integer I associated with a letter is transformed...
(d) Decrypt the ciphertext message LEWLYPLUJL PZ H NYLHA ALHJOLY that was encrypted with the shift cipher f(p) (p+7) mod 26. [10 points] (e) [Extra Credit - 5 points] Encrypt the message "BA" using the RSA cryptosystem with key (ne) = (35,5), where n = p . q 5-7 and ged(e, (p-1) 1)) (5, 24) 1. 6. [5 points each (a) Is 2 a primitive root of 11? (b) Find the discrete logarithm of 3 modulo 11 to the base...
Need help!! please explain — crypto math thank you!! 7. Alice and Bob use the ElGamal public key cryptosystem with p 19, and a 3. Bob chooses the secret x = 4, What is β? Alice sends the ciphertext (2.3). What is the message? 8. The points (3, +5) e on the elliptic curve y2-a3 2. Find another poin with rational coordinates on this curve. 9. For the elliptic curve y2--2 (mod 7), calculate (3,2)(5,5) 0. Let P (,0) be...
(10 points) Consider a discrete random variable X, which can only take on non-negative integer values, with E[Xk] = 0.8, k = 1,2, .... Use the moment generating function approach to find the pmf of Px(k), k = 0,1,....
5. Let X be a discrete random variable. The following table shows its possible values associated probabilities P(X)( and the f(x) 2/8 3/8 2/8 1/8 (a) Verify that f(x) is a probability mass function. (b) Calculate P(X < 1), P(X 1), and P(X < 0.5 or X >2) (c) Find the cumulative distribution function of X. (d) Compute the mean and the variance of X.
(a) Consider a discrete-time signal v[n] satisfying vn0 except if n is a multiple of some fixed integer N. i.e oln] -0, otherwise where m is an integer. Denote its discrete-time Fourier transform by V(eJ"). Define y[nl-v[Nn] Express Y(e) as a function of V(e). Hint : If confused, start with N-2 (b) Consider the discrete-time signal r[n] with discrete-time Fourier transform X(e). Now, let z[n] be formed by inserting two zeroes between any two samples of x[n]. Give a formula...
4. Consider the sample space S 1,2,3,...), and assume that outcomes have the probabilities P(i)- 2-'. For any n 2 0, define the discrete random variable Xn S0,... , n) by x,(i)-1 mod (n + 1), where mod means"modulo (a) Show that Xn converges in probability to the "identity" random variable X, defined by X(i)-. (b) Show that Xn converges in distribution to the Geom (1/2) random variable (e.g. to the time of the first Head in a sequence of...
Consider a 26-key typewriter. A.If pushing a key results in printing the associated letter, what is the capacity C in bits? B.Now suppose that pushing a key results in printing that letter or the next (with equal probability). Thus A->.A or B, and Z->Z or A. What is the capacity? C.What is the highest rate code with block length one that you can find that achieves zero probability of error for the channel in part (b)
Consider a 26-key typewriter. A.If pushing a key results in printing the associated letter, what is the capacity C in bits? B.Now suppose that pushing a key results in printing that letter or the next (with equal probability). Thus A->.A or B, and Z->Z or A. What is the capacity? C.What is the highest rate code with block length one that you can find that achieves zero probability of error for the channel in part (b)
LOVOU AWN 1. def remove_all_from_string(word, letter): i=0 3. while i<len(word)-1: if word[i] = letter: num = word.find(letter) word - word[:num] + word[num+1:] i=0 i=i+1 return word 10 print remove_all_from_string("hello", "1") 5 points Status: Not Submitted Write a function called remove_all_from_string that takes two strings, and returns a copy of the first string with all instances of the second string removed. This time, the second string may be any length, including 0. Test your function on the strings "bananas" and "na"....
discrete Math PLEASE CIRCLE ALL THE FINAL ANSWERS (1 pt) Consider the function f: R → R defined by f(x) = x2 + 8. Let I = (-6,3]. Describe the following sets as unions of disjoint intervals. (Hint: sketch the graph first.] f(1) = im(f) = where im(f) denotes the image (or range) off. [Syntax: use +:Inf for plus/minus infinity and the letter U for unions. For example: (-Inf-20]U(-0.5,1.5]U(3.5, Inf).] (1 pt) Consider the function f: R → (7,00) defined...