ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 258 - CAS-004 discussion

Report
Export

A software company is developing an application in which data must be encrypted with a cipher that requires the following:

* Initialization vector

* Low latency

* Suitable for streaming

Which of the following ciphers should the company use?

A.
Cipher feedback
Answers
A.
Cipher feedback
B.
Cipher block chaining message authentication code
Answers
B.
Cipher block chaining message authentication code
C.
Cipher block chaining
Answers
C.
Cipher block chaining
D.
Electronic codebook
Answers
D.
Electronic codebook
Suggested answer: A

Explanation:

Cipher feedback (CFB) is a mode of operation for block ciphers that allows them to encrypt streaming data. CFB uses an initialization vector (IV) and a block cipher to generate a keystream that is XORed with the plaintext to produce the ciphertext. CFB has low latency because it can encrypt each byte or bit of plaintext as soon as it arrives, without waiting for a full block. CFB is suitable for streaming data because it does not require padding or block synchronization.

B. Cipher block chaining message authentication code (CBC-MAC) is a mode of operation for blockciphers that provides both encryption and authentication. CBC-MAC uses an IV and a block cipher toencrypt the plaintext and generate a MAC value that is appended to the ciphertext. CBC-MAC hashigh latency because it requires the entire message to be processed before generating the MACvalue. CBC-MAC is not suitable for streaming data because it requires padding and blocksynchronization.C. Cipher block chaining (CBC) is a mode of operation for block ciphers that provides encryption only.CBC uses an IV and a block cipher to encrypt each block of plaintext by XORing it with the previousciphertext block. CBC has high latency because it requires a full block of plaintext before encryption.CBC is not suitable for streaming data because it requires padding and block synchronization.D. Electronic codebook (ECB) is a mode of operation for block ciphers that provides encryption only.ECB uses a block cipher to encrypt each block of plaintext independently. ECB has low latencybecause it can encrypt each block of plaintext as soon as it arrives. However, ECB is not suitable forstreaming data because it requires padding and block synchronization. Moreover, ECB is insecurebecause it does not use an IV and produces identical ciphertext blocks for identical plaintext blocks.

asked 02/10/2024
Penny Chang
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first