Cryptography Questions and Answers – Overview – IV

This set of Basic Cryptography questions and answers focuses on “Overview”.

1. In AES, to make the s-box, we apply the transformation –
b’i = bi XOR b(i+4) XOR b(i+5) XOR b(i+6) XOR b(i+7) XOR ci
What is ci in this transformation?
a) ci is the ith bit of byte c with value 0x63
b) ci is the ith bit of byte c with value 0x25
c) ci is the ith bit of byte c with value 0x8F
d) ci is the ith bit of byte c with value 0x8A
View Answer

Answer: a
Explanation: ci is the ith bit of byte c with value 0x63 i.e,
c = 01100011

2. The inverse s-box permutation follows,
b’i = b(i+2) XOR b(i+5) XOR b(i+7) XOR di
Here di is –
a) di is the ith bit of a byte ‘d’ whose hex value is 0x15
b) di is the ith bit of a byte ‘d’ whose hex value is 0x05
c) di is the ith bit of a byte ‘d’ whose hex value is 0x25
d) di is the ith bit of a byte ‘d’ whose hex value is 0x51
View Answer

Answer: b
Explanation: The value of ‘d’ is 0x05.

3. What are the block sizes in the Simplified AES and Full AES algorithms respectively?
a) 8 bits, 64 bits
b) 16 bits, 64 bits
c) 16 bits, 128 bits
d) 32 bits, 128 bits
View Answer

Answer: c
Explanation: The block size for the Simplified AES algorithm is 16 bits whereas it is 128 bits for the full AES algorithm.
advertisement
advertisement

4. Which function can be used in AES multiplication –
a) m(x)=x7+x4+x3
b) m(x)=x8+x4+x3+x+1
c) m(x)=x8+x3+x2+x+1
d) m(x)=x8+x5+x3+x
View Answer

Answer: b
Explanation: m(x)=x8+x4+x3+x+1 stands for 100011011 which is an irreducible polynomial. Others are not irreducible polynomials.

5. In the DES algorithm the Round Input is 32 bits, which is expanded to 48 bits via ______________
a) Scaling of the existing bits
b) Duplication of the existing bits
c) Addition of zeros
d) Addition of ones
View Answer

Answer: a
Explanation: The round key is 48 bits. The input is 32 bits. This input is first expanded to 48 bits (permutation plus an expansion), that involves duplication of 16 of the bits.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Using Differential Crypt-analysis, the minimum computations required to decipher the DES algorithm is-
a) 256
b) 243
c) 255
d) 247
View Answer

Answer: d
Explanation: Differential Crypt-analysis requires only 247 computations to decipher the DES algorithm.

7. Using SDES, the Plaintext for the Ciphertext 00001111, given that the key is 1111111111 is,
a) 01100111
b) 00001010
c) 11111111
d) 01101101
View Answer

Answer: c
Explanation: Perform the SDES Decryption algorithm and compute the cipher text.

8. 12. For p = 11 and q = 17 and choose e=7. Apply RSA algorithm where Cipher message=11 and thus find the plain text.
a) 88
b) 122
c) 143
d) 111
View Answer

Answer: a
Explanation: n = pq = 11 × 19 = 187.
C=M^e mod n ; C=11^23 mod 187 ; C = 88 mod 187.
advertisement

9. Reduce the following Big-O notation. O[ ax7 + 3 x3 + sin(x)] =
a) O[ax7].
b) O[sin(x)].
c) O[x7].
d) O[x7 + x3].
View Answer

Answer: c
Explanation: O[ ax7 + 3 x3 + sin(x)] = O(ax7) = O(x7).
advertisement

10. Reduce the following Big-O notation. O[ en + an10] =
a) O[ an10].
b) O[ n10 ].
c) O[ en ].
d) O[ en+ n10 ].
View Answer

Answer: c
Explanation: O[ en + an10 ] = O[ en ].

Sanfoundry Global Education & Learning Series – Cryptography and Network Security.

To practice basic questions on all areas of Cryptography , here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.