Symmetric Ciphers Questions and Answers – DES Modes of Operation – II

This set of Cryptography Questions and Answers for experienced people focuses on “DES Modes of Operation”.

1. Which mode of operation has the worst “error propagation” among the following?
a) OFB
b) CFB
c) CBC
d) ECB
View Answer

Answer: d
Explanation: The ECB or electronic code book mode of operation propagates the most errors. A single bit error is carried onto the next block and so on.

2. Which block mode limits the maximum throughput of the algorithm to the reciprocal of the time for one execution?
a) OFB
b) CTR
c) CBC
d) ECB
View Answer

Answer: b
Explanation: The CTR mode of operation limits the maximum throughput of the algorithm to the reciprocal of the time for one execution.

3. Which mode requires the implementation of only the encryption algorithm?
a) ECB
b) CBC
c) CTR
d) OFB
View Answer

Answer: c
Explanation: The CTR mode only requires the implementation of either the encryption or decryption phase. Both the phases are somewhat similar.
advertisement
advertisement

4. Which of the following modes of operation does not involve feedback?
a) ECB
b) CBC
c) CTR
d) OFB
View Answer

Answer: a
Explanation: Electronic code book does not involve feedback.

5. Which of the following is a natural candidates for stream ciphers?
a) OFB
b) CFB
c) CBC
d) ECB
View Answer

Answer: a
Explanation: OFB and CTR both produce outputs that are independent of both PT and CT. Thus they are ideal candidates for stream ciphers.

6. The XTS-AES mode was approved by NIST in
a) 1999
b) 2010
c) 2006
d) 2002
View Answer

Answer: b
Explanation: The XTS-AES mode of operation was approved by NIST in 2010. It is the most recent mode of operation for block ciphers.

7. The XTS-AES mode is based on the concept of tweakable block cipher.
a) True
b) False
View Answer

Answer: a
Explanation: The XTS-AES mode uses a tweak thus the name.
advertisement

8. The purpose of a ‘tweak’ in XTS-AES mode is to
a) secure the public key
b) provide security
c) provide variability
d) all of the mentioned
View Answer

Answer: c
Explanation: The purpose of the ‘tweak’ in the XTS-AES mode is to provide variability in each round.

9. A tweak is used in XTS-AES mode to provide a different output for the same input PT and same key.
a) True
b) False
View Answer

Answer: a
Explanation: The statement is true for XTS-AES mode of operation.
advertisement

10. XTS-AES mode of operation is a better version of
a) OFB
b) CFB
c) CTR
d) ECB
View Answer

Answer: d
Explanation: XTS-AES mode overcomes the principle security weakness of ECB, which is that two encryptions of the same CT yeild the same PT.

11. What is the size of the XTS-AES key?
a) 1024 bits
b) 64 bits
c) 512 bits
d) 128 bits
View Answer

Answer: c
Explanation: The key size can be either 256 bits or 512 bits. There are 2 keys of the same size K1 and K2.

12. Which of the following represent the tweak?
a) j
b) i
c) alpha
d) alphaj
View Answer

Answer: b
Explanation: ‘i’ represents the tweak value.

13. Which of the following is true for the tweak in XTS-AES mode?
a) they are non-negative integers
b) they are of size 128 bits
c) they are assigned consecutively
d) all of the mentioned
View Answer

Answer: d
Explanation: All of the statements are true in relation to the tweak ‘i’ from the XTS-AES mode of operation.

14. Which of the following is the correct encryption statement representation for the XTS-AES mode?
a) E(K1,P) XOR T
b) E(K2,T) XOR P
c) E(K1,T XOR P) XOR P
d) E(K1,P XOR T) XOR T
View Answer

Answer: d
Explanation: The correct encryption representation would be : C = E(K1,P XOR T) XOR T.

15. The last two blocks of the XTS-AES mode are –
a) padded as 10*
b) encrypted/ decrypted using ciphertext-stealing
c) padded as 10*1
d) padded and then swapped after encryption/ decryption
View Answer

Answer: b
Explanation: The correct term used to encrypt/ decrypt the last 2 blocks is ‘cipher-text stealing’ where C(m) and C(m-1) are interchanged with each other.

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

To practice all areas of Cryptography for Experienced, 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.