Cryptography Unit 4 MCQs
Cryptography Unit 4 MCQs
Cryptography Unit 4 MCQs
UNIT-4
An integer p>1 is a prime number if and only if its only divisors are d) +1 & +p
a) +1 only
1 b) 0 & +p
c) +p & +p+1
d) +1 & +p
2 Which of the following is Fermat’s theorem statement? a) If p is prime
a) If p is prime and a is a positive integer not divisible by p, then and a is a positive
ap-1 = 1 (mod p) integer not divis-
b)If p is prime and a is a positive integer not divisible by p, then ible by p, then
ap= 1 (mod p) ap-1 = 1 (mod p)
c)If p is prime and a is a positive integer not divisible by p, then
ap-1 = p (mod p-1)
d) If p is prime and a is a positive integer not divisible by p, then
a(p-1) = 1 (mod p)
3 Consider a function: f(n) = number of elements in the set {a: 0 <= a < b) Totient
n and gcd(a,n) = 1}. What is this function?
a) Primitive
b) Totient
c) Primality
d) All of the mentioned
8 Which of the following counts the number of integers between 1 and a) Euler’s totient
N, which are relatively prime to N? function
a) Euler’s totient function
b) Catalan numbers
c) Factorial of a number
d) Fibonacci series
9 What does the Chinese Remainder Theorem primarily deal c) Finding an un-
with? known number
a) Finding prime numbers from its remain-
b) Solving linear equations ders with respect
c) Finding an unknown number from its remainders with re- to several pair-
spect to several pairwise coprime divisors wise coprime di-
d) Calculating the greatest common divisor of two numbers visors
x≡2mod3
x≡3mod5
x≡2mod7
a) 23
b) 52
c) 62
d) 142
13 What is the Discrete logarithm to the base 13 (mod 19) for a =13? b) 1
a) 14
b) 1
c) 8
d) 17
14 ᶲ(440)= c) 160
a) 200
b) 180
c) 160
d) 220
18 For p = 11 and q = 19 and choose e=17. Apply RSA algorithm where a) C=80
message=5 and find the cipher text.
a) C=80
b) C=92
c) C=56
d) C=23
21 How many bytes of the secret key is generated using Diffie-Hellman a) 256
encryption/decryption scheme?
a) 256
b) 871
c) 1024
d) 962
22 What is the general equation for elliptic curve systems? d) y2+b_1 xy+b_2
a) y3+b_1 xy+b_2 y=x33+a_1 x2+a_2 x+a_3 y=x3+a_1 x2+a_2
b) y3+b_1 x+b_2 y=x2+a_1 x2+a_2 x+a_3 x+a_3
c) y2+b_1 xy+b_2 y=x3+a_1 x2+a_2
d) y2+b_1 xy+b_2 y=x3+a_1 x2+a_2 x+a_3
23 How many real and imaginary roots does the equation d) 2 imaginary, 1
y2=x3-1 have real
a) 2 real, 1 imaginary
b) all real
c) all imaginary
d) 2 imaginary, 1 real
24 In the elliptic curve group defined by y2= x3- 17x + 16 over a) (15, -56)
real numbers, what is P + Q if P = (0,-4) and Q = (1, 0)?
a) (15, -56)
b) (-23, -43)
c) (69, 26)
d) (12, -86)
26 “In ECC, the inverse of point P =(x1, y1) is Q = (-x1, y1). “ b) False
a) True
b) False
27 In RSA, we select a value ‘e’ such that it lies between 0 and b) False
Ф(n) and it is relatively prime to Ф(n).
a) True
b) False
28 In the RSA algorithm, we select 2 random large values ‘p’ and c) p and q
‘q’. Which of the following is the property of ‘p’ and ‘q’? should be prime
a) p and q should be divisible by Ф(n)
b) p and q should be co-prime
c) p and q should be prime
d) p/q should give no remainder