Question Bank - Computer Networks

Here's the question bank on all the computer networks topics.

Using RSA public key cryptosystem. if p = 3, q = 11 and d = 7, find the value of e and encrypt the number 19.

A.
20, 19
B.
33, 11
C.
3, 28
D.
77, 28

Solution:

The correct answer is option 3. Data:p = 3, q = 11 and d = 7Formula:?(n)=(p-1)x(q-1)n=p x qCalculation:n=3 x 11 =33?(n)==(3-1)x(11-1) = 20ex7 mod ?(n)=1Option 3if e=3, 7x3 mod 20 =1Encrypt key Memod n= CC=193mod 33C=28? Hence the correct answer is (3,28) RSA Algorithm (Rivest Shamir Adleman):Step 1: choose two large primes, p,qStep 2: Compute n=pxq , ?(n)=(p-1)x(q-1)Step 3: Choose a number relatively prime to ?(n) and call it 'd' , GCD(d, ?(n))=1Find 'e' such that, exd mod ?(n)=1Encrypt key Memod n= C where C=ciper textDecrypt key Cdmod n= M where M=plain text

For more questions,

Click Here

Download Gyanm App

free current affairs for competitive exams

Scan QR code to download our App for
more exam-oriented questions

free current affairs for competitive exams

OR
To get link to download app

Thank you! Your submission has been received. You will get the pdf soon. Call us if you have any question: 9117343434
Oops! Something went wrong while submitting the form.