Question

In: Computer Science

Assume p = 13, q = 7, e = 11 and message m = 46. 1)...

Assume p = 13, q = 7, e = 11 and message m = 46.

1) Can given e be suitable for public key? Give reason why.

2) Find d = e-1 if e is suitable.

3) Perform encryption on the message m using RSA algorithm.

4)Perform decryption on the ciphertext c = 56 using the RSA algorithm.

5) is c = 56, the ciphertext for the message m = 46?

Solutions

Expert Solution

N = p*q = 13*7 = 91

r = (p-1)*(q-1) = 12*6 = 72

find two numbers e and d whose product is a number equal to 1 mod r

Choose an integer e such that 1 < e < r and gcd(e, r) = 1; that is, e and r are coprime

1) Can given e be suitable for public key? Give a reason why.

Yes, As it satisfies above conditions

2) Find d = e-1 if e is suitable.

d=59

& e=11

3) Perform encryption on the message m using RSA algorithm.

2

4)Perform decryption on the ciphertext c = 56 using the RSA algorithm.

49

5) is c = 56, the ciphertext for the message m = 46?

No, c=2 for m=46

PLEASE LIKE IT RAISE YOUR THUMBS UP
IF YOU ARE HAVING ANY DOUBT FEEL FREE TO ASK IN COMMENT SECTION


Related Solutions

QUESTION 26 Consider RSA with p = 7 and q = 11. What are n and...
QUESTION 26 Consider RSA with p = 7 and q = 11. What are n and z? n z 4 points    QUESTION 27 Put the following wireless encryption protocols in order from most secure to least secure.       -       1.       2.       3.          WPA       -       1.       2.       3.          WEP       -       1.       2.   ...
Part 1: Encrypt the message CINEMA using RSA with n = 17 * 11 and e...
Part 1: Encrypt the message CINEMA using RSA with n = 17 * 11 and e = 13, use A =10...Z = 35, work in blocks of one letter each. Part 2: Decrypt the message 088-164-051-164-021-074 using the same parameters from part 1.
Write C program for RSA encryption and decryptin, where: p = 11,q = 5, e =...
Write C program for RSA encryption and decryptin, where: p = 11,q = 5, e = 7
1. m •   (n • p) 2. (q   ⊃ ~t) • (~m v q) 3.   ~t...
1. m •   (n • p) 2. (q   ⊃ ~t) • (~m v q) 3.   ~t ⊃ z     : .     z
Elements 1-7 for Sample 1 are 11 7 9 12 13 15 15. Elements 1-7 for...
Elements 1-7 for Sample 1 are 11 7 9 12 13 15 15. Elements 1-7 for Sample 2 are 8 8 6 7 10 15 14.Construct a 95% conf.interval for the mean of the paired sample differences.
Answer the following elasticity questions: E = ∆% Q / ∆% P 1. The following data...
Answer the following elasticity questions: E = ∆% Q / ∆% P 1. The following data is from the demand for chocolate cookies: Producer reduces the price of some cookies from 12 to 10 cents. Find out that the quantities sold increased from 210 to 250 units: a) Calculate the price elasticity of cookies. b) Present the graph; Indicate if it is Price Elasticity of Demand or Supply. c) if it is elastic, inelastic or unitary. d) If the price...
The Demand for Spring-water is P = 13 - Q, where Q is quantity measured in...
The Demand for Spring-water is P = 13 - Q, where Q is quantity measured in hundreds of bottles per day and P is the price per bottle. Spring-water can be produced at a constant marginal (and average) cost of $1/ bottle. If the industry is perfectly competitive, how much will be produced and at what price in equilibrium? Explain why. Now suppose the industry becomes monopolized by one firm. What price will the monopolist charge if it must charge...
It is known that the sentence E: if (if P then not (Q or R) else...
It is known that the sentence E: if (if P then not (Q or R) else not P) then (not (Q and S) if and only if (not Q or not S)). Investigate whether I = {S ← false, R ← false, Q '← true, P ← false} interpretations are interpretations for sentence E.
1. Assume that a monopolist has T C(Q) = 22Q and the market demand is P(Q)...
1. Assume that a monopolist has T C(Q) = 22Q and the market demand is P(Q) = 50 − 2Q. (a) What is the firm’s marginal cost? (b) What is the profit-maximizing price and quantity (P ∗ , Q∗ )? (c) What is the total revenue at (P ∗ , Q∗ )? (d) What is the total cost at (P ∗ , Q∗ )? (e) What is the profit at (P ∗ , Q∗ )? (f) What is the consumer...
1. Show that the argument (a) p → q       q → p       therefore p...
1. Show that the argument (a) p → q       q → p       therefore p V q       is invalid using the truth table. ( 6 marks ) (b) p → q       P       therefore p        is invalid using the truth table. ( 6 marks ) (c) p → q       q → r        therefore p → r         is invalid using the truth table. ( 8 marks )
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT