0% found this document useful (0 votes)
13 views5 pages

Symmetric Encryption Fundamentals

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

Symmetric Encryption Fundamentals

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Computer Security: Principles and Practice, 4th Edition Chapter 20

Chapter 20 – Symmetric Encryption and Message Confidentiality

TRUE/FALSE QUESTIONS:
T F 1. Symmetric encryption is also referred to as secret-key or single-key
encryption.

T F 2. Plaintext is the scrambled message produced as output.

T F 3. If both sender and receiver use the same key the system is referred to as
asymmetric.

T F 4. The ciphertext-only attack is the easiest to defend against.

T F 5. A brute-force approach involves trying every possible key until an


intelligible translation of the ciphertext into plaintext is obtained.

T F 6. AES uses a Feistel structure.

T F 7. Stream ciphers are far more common than block ciphers.

T F 8. “Each block of 64 plaintext bits is encoded independently using the


same key” is a description of the CBC mode of operation.

T F 9. It is possible to convert any block cipher into a stream cipher by using


the cipher feedback (CFB) mode.

T F 10. One desirable property of a stream cipher is that the ciphertext be of


the same length as the plaintext.

T F 11. In using encryption, we need to decide what to encrypt and where the
encryption gear should be located.

T F 12. One disadvantage of the link encryption approach is that the message
must be decrypted each time it enters a frame switch.

T F 13. “The plaintext is 64 bits in length and the key is 56 bits in length;
longer plaintext amounts are processed in 64-bit blocks” is a
description of the DES algorithm.

T F 14. The National Bureau of Standards is now the National Institute of


Standards and Technology.

T F 15. Key distribution can be achieved for two parties A and B by a third
party selecting the key and physically delivering it to A and B.
Computer Security: Principles and Practice, 4th Edition Chapter 20

MULTIPLE CHOICE QUESTIONS:

1. _________ is the original message or data that is fed into the algorithm as input.

A. Plaintext B. Encryption algorithm

C. Decryption algorithm D. Ciphertext

2. The exact substitutions and transformations performed by the algorithm depend


on the ________.

A. ciphertext B. decryption algorithm

C. secret key D. encryption algorithm

3. The _________ is the encryption algorithm run in reverse.

A. decryption algorithm B. ciphertext

C. plaintext D. secret key

4. If the analyst is able to get the source system to insert into the system a message
chosen by the analyst, then a ________ attack is possible.

A. known-plaintext B. chosen-plaintext

C. chosen ciphertext D. chosen text

5. The most widely used encryption scheme is based on the _________ adopted in 1977
by the National Bureau of Standards.

A. AES B. 3DES

C. CES D. DES

6. There are _____ modes of operation defined by NIST that are intended to cover
virtually all the possible applications of encryption for which a block cipher could be
used.

A. three B. five

C. seven D. nine

7. For stream-oriented transmission over noisy channel you would typically use _______
mode.

A. ECB B. CTR

C. OFB D. CBC
Computer Security: Principles and Practice, 4th Edition Chapter 20

8. For general-purpose block-oriented transmission you would typically use _______


mode.

A. CBC B. CTR

C. CFB D. OFB

9. For general-purpose stream-oriented transmission you would typically use _______


mode.

A. CTR B. CFB

C. ECB D. CBC

10. ______ mode is typically used for a general-purpose block-oriented transmission


and is useful for high-speed requirements.

A. ECB B. OFB

C. CFB D. CTR

11. __________ is a term that refers to the means of delivering a key to two parties that
wish to exchange data without allowing others to see the key.

A. Session key B. Subkey

C. Key distribution technique D. Ciphertext key

12. A ________ is a key used between entities for the purpose of distributing session
keys.

A. permanent key B. session key

C. distribution key D. all of the above

13. The _______ module performs end-to-end encryption and obtains session keys on
behalf of users.

A. PKM B. RCM

C. SSM D. CCM

14. Public-key encryption was developed in the late ________.

A. 1950s B. 1970s

C. 1960s D. 1980s
Computer Security: Principles and Practice, 4th Edition Chapter 20

15. Cryptographic systems are generically classified by _________.

A. the type of operations used for transforming plaintext to ciphertext

B. the number of keys used

C. the way in which the plaintext is processed

D. all of the above

SHORT ANSWER QUESTIONS:

1. A symmetric encryption scheme has five ingredients: plaintext, encryption


algorithm, ciphertext, decryption algorithm and _________.

2. _________ is the process of attempting to discover the plaintext or key.

3. A ________ cipher processes the input one block of elements at a time, producing
an output block for each input block.

4. A ________ cipher processes the input elements continuously, producing output


one element at a time as it goes along.

5. An encryption scheme is _________ if the cost of breaking the cipher exceeds the
value of the encrypted information and/or the time required to break the cipher
exceeds the useful lifetime of the information.

6. The _________ was issued as a federal information-processing standard and is


intended to replace DES and 3DES with an algorithm that is more secure and
efficient.

7. ______ was designed in 1987 by Ron Rivest and is a variable key-size stream
cipher with byte-oriented operations.

8. “The input to the encryption algorithm is the XOR of the next 64 bits of plaintext
and the preceding 64 bits of ciphertext” is a description of the ________ mode of
operation.

9. Unlike ECB and CBC modes, ________ mode requires only the implementation
of the encryption algorithm and not the decryption algorithm.

10. The most powerful, and most common, approach to countering the threats to
network security is ________.

11. With _________ encryption the encryption process is carried out at the two end
systems.
Computer Security: Principles and Practice, 4th Edition Chapter 20

12. With ______ encryption each vulnerable communications link is equipped on


both ends with an encryption device.

13. For symmetric encryption to work the two parties to an exchange must share the
same _____, which must be protected from access by others.

14. All encryption algorithms are based on two general principles: substitution and
_________.

15. The three most important symmetric block ciphers are: 3DES, AES, and _____.

Common questions

Powered by AI

When choosing between 3DES and AES, security and efficiency are key considerations. AES provides superior security compared to 3DES, with larger key sizes leading to stronger encryption that is more resistant to brute-force attacks. Moreover, AES is more efficient computationally, supporting faster implementations in both software and hardware. Conversely, 3DES, while historically significant, works at a slower pace due to its triple encryption process and smaller effective key size. Therefore, AES is often preferred for new applications requiring high-security standards and performance .

Balancing the cost of breaking a cipher against the value and lifetime of the encrypted information is essential to ensure practical security. A cipher is considered secure if breaking it requires more resources (time, computational power, etc.) than the value of the protected data. Similarly, if the time needed to break the cipher exceeds the useful lifespan of the information, the encryption remains effective. This cost-benefit analysis ensures that encryption resources are wisely allocated to protect information effectively without unnecessary expense .

A symmetric encryption scheme consists of five main components: plaintext, encryption algorithm, ciphertext, decryption algorithm, and secret key. Plaintext is the original message that needs protection. The encryption algorithm transforms the plaintext into ciphertext using the secret key, which is known to both the sender and receiver. Ciphertext is the scrambled message that is transmitted to the receiver, who uses the decryption algorithm with the same secret key to convert the ciphertext back into the original plaintext .

A ciphertext-only attack involves the attacker having access only to a collection of ciphertexts and attempts to recover the plaintext or key without any other information. This contrasts with other attacks like known-plaintext or chosen-plaintext attacks, where the attacker has additional information about the plaintext. Ciphertext-only attacks are considered challenging to defend against because the attacker has less context to exploit, making it primarily a question of exploiting weaknesses in the encryption algorithm or key management .

Key distribution is crucial in symmetric encryption as both the sender and receiver must share the same secret key to encrypt and decrypt messages. Effective management of key distribution involves ensuring that the key is delivered securely to both parties without interception by third parties. This can be achieved via secure channels, using trusted intermediaries, or employing key distribution protocols that provide authentication and confidentiality. Proper key management, including frequent key changes and safe storage, enhances overall security by mitigating risks such as key compromise .

Counter (CTR) mode offers significant advantages over Electronic Codebook (ECB) mode due to its ability to provide stronger security properties. ECB mode encrypts each block of plaintext independently, making it susceptible to pattern detection when identical plaintext blocks result in identical ciphertext blocks. In contrast, CTR mode works by combining a counter value, which changes with each block, with plaintext using a block cipher. This approach prevents identical plaintext blocks from producing identical ciphertext, enhancing security by producing a more random and secure result .

A session key is a temporary shared secret used to encrypt and decrypt messages during a single communication session. This concept facilitates secure communication by allowing parties to frequently change keys, reducing the risk of long-term exposure if a key is compromised. By using a session key for each session, parties ensure that even if one session's key is discovered, other sessions remain secure. This enhances the overall confidentiality and integrity of transmitted data .

Block ciphers can be transformed into stream ciphers through the use of specific modes of operation such as the Cipher Feedback (CFB) mode. This allows the block cipher to process small increments of plaintext (a few bits or bytes at a time), converting it into a stream cipher. The implication is that this increases the flexibility of block ciphers, enabling them to be used in a wider range of applications that require processing data in a stream-oriented fashion, such as real-time communication .

Substitution and transposition (or permutation) operations are fundamental to symmetric encryption algorithms. Substitution involves replacing elements of the plaintext with other elements to obscure the data, while transposition rearranges the positions of elements based on a particular algorithmic pattern. By combining substitution (which provides confusion) and transposition (which provides diffusion), the encryption algorithm effectively increases the complexity and strength of the cipher against potential cryptanalysis attempts, thereby securing the data .

AES is a symmetric block cipher based on the substitution-permutation network, unlike traditional Feistel ciphers which integrate substitution and permutation operations over multiple rounds. The significance of this distinction lies in AES's ability to provide a higher level of security and efficiency by using transformations such as SubBytes, ShiftRows, MixColumns, and AddRoundKey. These operations provide a more thorough diffusion and confusion of the data, enhancing resistance to cryptanalysis compared to Feistel-based ciphers .

You might also like