Machine-translated by Google. Questions are authored in English.
Top

Public Key Cryptography Questions and Answers

1.

In RSA given two prime numbers p = 19 and q = 23, find n and φ ?

Exam Year(s)

MH SET - 2019, SET Exam - 2019,

Answer: A

The values are n = 437, φ = 396.

\[ \begin{aligned} n &= p \times q = 19 \times 23 = 437 \\ \phi(n) &= (p - 1)(q - 1) = 18 \times 22 = 396 \end{aligned} \]

n is the public modulus, and \(\phi(n)\) is used to choose the public exponent e (coprime to 396) and compute the private exponent d. The other options do not come from these formulas: 38 and 52 are neither product, and 19 and 23 are just p and q.

Please log in or register to report this question.

2.

Why is public-key cryptography mainly used for key exchange ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: C

The reason is that public-key methods avoid sharing a secret beforehand.

With symmetric encryption both parties need the same secret key, and getting it to the other side safely is the problem. Public-key cryptography solves it: a sender can encrypt a fresh session key with the recipient's public key, or the two sides can run Diffie-Hellman, establishing a shared secret over an open channel without any prior secret. The bulk data is then encrypted with the fast symmetric key, the hybrid scheme used by TLS.

Public-key methods are much slower than symmetric ones, which is why they are kept to key exchange. Symmetric keys can be distributed in other ways, by courier or pre-shared keys, just less conveniently. Public keys do expire, usually with their certificates.

Please log in or register to report this question.

3.

Which one of the following is not a Public Key cryptography ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: C

The one that is not public-key cryptography is AES.

The Advanced Encryption Standard (the Rijndael cipher, adopted by NIST in 2001) is a symmetric block cipher: the same secret key encrypts and decrypts, with 128-bit blocks and 128, 192 or 256-bit keys.

The rest are all public-key (asymmetric) schemes. RSA rests on the difficulty of factoring large numbers, and ECC (elliptic curve cryptography) on the elliptic-curve discrete logarithm problem. Kyber is a lattice-based key-encapsulation mechanism designed to resist quantum computers, standardised by NIST in 2024 as ML-KEM.

Please log in or register to report this question.

4.

What is value of Euler's Phi function in RSA if the primes are 7 and 11 ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: B

Euler's phi of n is 60.

In RSA, n = pq, and for two distinct primes Euler's totient is the count of numbers below n that share no factor with it:

\[ \begin{aligned} n &= 7 \times 11 = 77 \\ \phi(n) &= (p - 1)(q - 1) \\ &= 6 \times 10 = 60 \end{aligned} \]

The public exponent e is then chosen coprime to 60, and the private exponent d is its inverse modulo 60. 77 is the modulus n itself, not φ(n), and 7 and 11 are just the primes.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Public Key Cryptography Questions and Answers || Public Key Cryptography MCQ Questions and Answers || Public Key Cryptography GK Questions and Answers || Public Key Cryptography GK MCQ Questions || Public Key Cryptography Multiple Choice Questions and Answers || Public Key Cryptography GK || GK on Public Key Cryptography || Cyber Security Questions and Answers || Cyber Security MCQ Questions and Answers || Cyber Security GK Questions and Answers || GK on Cyber Security