Skip to main content

UGC-NET Computer Science (RSA-Algorithm Solution)

UGC-NET RSA-Algorithm Solution



Using RSA algorithm, what is the value of cipher text C, if the plain text M = 5 and p = 3, q = 11 & d = 7 ? 
(A) 20
(B) 52 
(C ) 26 
(D )31

Solution:-

All the values are given i.e.
p=3,
q=11
      then n=(p * q) = (3 * 11)=33
   Find value of m=(p-1)*(q-1) = (2 * 10)=20

Find a small odd integer e, that is relatively prime to m.

If e=3, then GCD(3,20)=1. e should be small and prime and so we let e=3. Value of d is given, d=7.
Public key = (e,n).

To encrypt a message, we apply the public key to the function 

E(m) = me(mod n)
then:-
   =53(mod 33)
   = 125 (mod 33)
   = 26
As a result, the encrypted message E(M) = 26.
It is the transmitting message.

Comments

Popular posts from this blog

CODD RULES of RDBMS

Codd’s rules for RDBMS (i)                 The information rule. (ii)              Guaranteed access of   data (iii)            Systematic treatment of null value. (iv)            On line DB support. (v)              Comprehensive sup-language rule. (vi)            The view update rule. (vii)         Insert update rule. (viii)       Physical data independence. (ix)            Logical data independence. (x)              Integrity rule (xi)  ...

C Language Notes for new Students

    C- L ANGUAGE N OTES  ----------------------------------------------------------------------------- Dennis Ritchie     1. C language is generally develop for hardware programming     2. C language is developed by Dennis Ritchie.     3. C language is developing in 1969-1974.     4. C language is develop in AT & T Bell Laboratory Programming Language:- Programming Language provide interface for write the program for development of Software. There are different types of programming language.      a) Low Level:-             I) Machine Language: - It is in the form of Binary Numbers (0 or 1)             ii) Assembly Language: - It is in the form of group of alphabets and numbers.      b) High Level:-       ...