0% found this document useful (0 votes)
38 views2 pages

Cryptography Principles and Applications

The document is an assignment on Cryptography and Network Security that includes a series of questions covering various topics such as the definitions of cryptography and cyber-security, types of security attacks, cryptographic techniques, and specific algorithms like DES and AES. It also addresses practical applications such as IPSec, PGP, and email security. The assignment requires concise answers and emphasizes the importance of information security principles.

Uploaded by

yapifol990
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)
38 views2 pages

Cryptography Principles and Applications

The document is an assignment on Cryptography and Network Security that includes a series of questions covering various topics such as the definitions of cryptography and cyber-security, types of security attacks, cryptographic techniques, and specific algorithms like DES and AES. It also addresses practical applications such as IPSec, PGP, and email security. The assignment requires concise answers and emphasizes the importance of information security principles.

Uploaded by

yapifol990
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

Cryptography & Network Security Assignment

[Use a long notebook and write the answers. Keep it brief and to the point.]

1. What is cryptography? How is it different from cryptology?


2. Discuss the difference between computer security, network security and Internet security.
3. What is Cyber-security? How relevant is it as a stream of study?
4. List the Objectives of Information security emphasizing of CIA Triad.
5. Write down the various types of threats that a computer based information system may be
subjected to.
6. Describe various types of attacks that can take place on computer based information system.
7. What do you understand by security attack, security mechanism and security service? Discuss
briefly.
8. How is active attack different from passive attack? List few of them.
9. What is Denial of service attack? How it works?
10. Explain the term Non-repudiation in context of information security.
11. Explain the following Cryptography Concepts: Plaintext, Cipher text, Cipher, Key, Encipher, and
Decipher.
12. Use an example to illustrate keyless cipher algorithm.
13. How is Block Cipher different from Stream Cipher? Explain.
14. Differentiate between symmetric and asymmetric key algorithms.
15. What are the major points considered in network security implementation?
16. Elaborate the terms Intrusion detection Intrusion prevention.
17. Describe trust & trustworthiness.
18. Describe substitution techniques and transposition techniques used in cryptography.
19. What do you mean by unconditionally secure encryption?
20. Give a brief description of computationally secure encryption.
21. Use an example to describe Caesar cipher.
22. What do you mean by Monoalphabetic Ciphers?
23. Use an example to describe Playfair cipher.
24. What type of cryptographic technique is used in Rail Fence cipher? Explain.
25. How many padding bits must be added to a message of 100 characters if 8-bit ASCII is used for
encoding and the block cipher accepts blocks of 64 bits?
26. Discuss P-Boxes and S-Boxes in block ciphers.
27. What do you mean by Invertibility of P-boxes and S-boxes?
28. Discuss Compression and expansion P-boxes.
29. Describe Product cipher.
30. Explain the concept of diffusion and confusion in context to ciphers.
31. What is the Feistel cipher. Discuss the block cipher design principles.
32. Give a brief working of Data Encryption Standard (DES) algorithm.
33. What do you mean by avalanche effect?
34. Define “Timing attack” in context of cryptography.
35. Discuss Strict avalanche criterion (SAC) & Bit independence criterion (BIC) in brief.
36. Describe differential cryptanalysis and linear cryptanalysis in brief.
37. Explain the working Triple – DES with help of diagram.
38. Why does triple – DES follow an encrypt-decrypt-encrypt (EDE) sequence for encryption and
decrypt-Encrypt-decrypt Sequence (DED) for decryption?
39. Explain Meet – in – middle attack.
40. Describe in brief the working of Advanced Encryption Standard (AES).
41. What is the principal objective of hash function? Discuss in brief.
42. What is the block size of plain text and the key used in IDEA algorithm? How many rounds it
employs for encryption?
43. What is the number of sub keys used in IDEA algorithm?
44. What is co-prime? Give examples
45. What is IPSec? Explain modes of IPSec.
46. How is authentication header implemented in the two modes of IPSec?
47. Discuss structure of PGP (Pretty Good Privacy) in detail emphasizing on the keys used in it.
48. Explain the key elements of RSA Public key encryption.
49. Describe Diffie-Helman key agreement.
50. Solve:
a. 117 mod 13
b. 233 mod 30
c. 242329 mod 243
d. 32500 mod 30
51. Use CRT (Chinese Remainder Theorem) to solve following equations:
a. X ≡ 2 (mod 3), X ≡ 3 (mod 5), X ≡ 2 (mod 7).
b. 4X ≡ 5 (mod 9), 2X ≡ 6 (mod 20)
52. Compute
a. ɸ (5)
b. ɸ (8)
c. ɸ (10)
53. Discuss Token based and Certificate based authentication in detail.
54. What is TCP Session Hijacking? How is it done?
55. Explain the purpose of encapsulating security payload.
56. Discuss Euler’s theorem with example.
57. How is email secured by S/MIME? Discuss.
58. What is Firewall? Discuss different types of firewalls in detail.

Common questions

Powered by AI

The CIA Triad stands for Confidentiality, Integrity, and Availability, which are the three core objectives of information security. Confidentiality ensures that information is accessible only to those authorized to have access, protecting against unauthorized disclosure. Integrity involves maintaining the accuracy and trustworthiness of data over its entire lifecycle, ensuring that it cannot be altered by unauthorized parties. Availability ensures that authorized users have reliable access to information and associated assets when needed. These principles are foundational to information security because they provide a holistic approach to protecting information, each addressing different potential vulnerabilities in an information system. Balancing these three aspects is essential for creating robust security policies that can effectively mitigate risks .

The Advanced Encryption Standard (AES) operates on a design principle known as a substitution-permutation network, which involves a series of linked mathematical operations performed on block sizes of 128 bits. AES utilizes multiple rounds of processing, each consisting of four transformations: SubBytes (substitution), ShiftRows (permutation), MixColumns (linear transformation), and AddRoundKey (key addition). The number of rounds depends on the key length: 10 rounds for 128-bit keys, 12 rounds for 192-bit keys, and 14 rounds for 256-bit keys. The substitution step introduces confusion by replacing input data with values from a predefined S-box, ensuring that relationships between the plaintext, ciphertext, and key are non-linear. The permutation and mixing steps provide diffusion, spreading the influence of each input bit across the output. These steps, combined with a robust key schedule, fortify AES against various attacks, including brute force and cryptanalysis, thus making it a preferred standard for secure encryption worldwide .

The Diffie-Hellman key agreement protocol enables two parties to establish a shared secret over an insecure channel without having to communicate the secret itself. Each party generates a public-private key pair and exchanges their public keys. The shared secret is then derived independently by each party via their private key and the other party's public key using the mathematical properties of modular arithmetic and discrete logarithms. This key agreement protocol is significant because it provides a secure method for two parties to agree on encryption keys without requiring the transmission of those keys, forming a basis for secure communications. It is foundational in enabling secure web and internet communications, such as in the establishment of secured HTTPS connections .

Active attacks involve attempts to alter system resources or affect their operation and typically include activities such as masquerade, modification of messages, and Denial of Service (DoS) attacks. The attacker actively interacts with the target system to disrupt, modify, or reroute data. Passive attacks, in contrast, entail the monitoring of transmissions or capturing data being communicated without affecting system resources, typically involving activities like eavesdropping or traffic analysis. In passive attacks, the attacker aims to gather information from the system covertly. Understanding these differences allows security professionals to develop appropriate strategies and countermeasures specific to each type of attack, thereby strengthening network defenses .

Computer security focuses on protecting standalone machines from threats, ensuring the integrity, availability, and confidentiality of the data stored on them. Network security, on the other hand, involves measures used to protect data during its transmission over networks by managing access and preventing unauthorized users from infiltrating the network. Internet security builds upon network security but specifically addresses threats that arise from utilizing the internet, such as malware, phishing, and other cyber threats that exploit the global interconnection of networks. These distinctions are important because they guide the development of tailored security protocols for different components of digital infrastructure .

Cryptography is the practice and study of techniques for securing communication and data in the presence of adversaries. It involves the creation and analysis of protocols to prevent third parties from reading private messages or data. Cryptology is a broader field that encompasses both cryptography and cryptanalysis. Cryptanalysis involves analyzing and breaking cryptographic protocols, often to recover encrypted data without access to the secret key. Recognizing this distinction is crucial in the field of information security because it helps clarify the roles of various professionals: cryptographers focus on creating secure systems, while cryptanalysts test these systems to identify weaknesses. Understanding this distinction aids in allocating resources and expertise for developing and assessing security solutions .

Non-repudiation refers to the assurance that someone cannot deny the validity of something, such as the origination of a message or a transaction after it has occurred. In information security, it ensures that the sender of a message cannot deny having sent the message and that the recipient cannot deny having received it. An example of non-repudiation in practice is digital signatures, where a sender signs a message with their private key, providing proof of origin and integrity. The signature can be verified with the sender's public key, thereby ensuring that they cannot dispute the message's origination. This is crucial for scenarios such as legal contracts, where confirming the authenticity and origin of messages or documents is required .

Symmetric key algorithms use a single secret key for both encryption and decryption. They are generally faster and require less computational power, making them suitable for encrypting large amounts of data. However, symmetric keys must remain confidential, and secure key distribution can be challenging. Asymmetric key algorithms, also known as public-key cryptography, use a pair of keys: a public key, which can be shared openly, and a private key, which is kept secret by the owner. They simplify key distribution since only the public key needs to be exchanged, but they are computationally more intensive and slower than symmetric algorithms. Each type offers specific advantages: symmetric algorithms are efficient for bulk data encryption, while asymmetric algorithms are ideal for secure key exchanges and digital signatures. Implementers often combine both to balance efficiency and security in cryptographic systems .

Implementing RSA Public Key Encryption involves several challenges, primarily related to computational complexity and key management. RSA relies on the difficulty of factoring large composite numbers, making key generation computationally intensive. It also requires large key sizes (typically 2048 bits or more) to ensure security, which can slow down encryption and decryption processes due to complex calculations. Moreover, RSA is less efficient for encrypting large data volumes and often requires hybrid approaches, combining it with faster symmetric cryptography for data encryption, leaving RSA to encrypt session keys only. Another key management challenge includes securely storing and exchanging public and private keys to prevent unauthorized access. Addressing these challenges involves optimizing algorithms for efficiency, using padding schemes to improve security against specific attacks, and employing cryptographic libraries optimized for performance and secure key management practices to ensure confidentiality and integrity .

Block cipher design, especially within the context of Feistel networks, is guided by principles that ensure strong security while maintaining efficiency. Key principles include the use of multiple rounds of processing to increase security by mixing the input data thoroughly, known as diffusion. Confusion is also critical, achieved by making the relationship between the ciphertext and the encryption key as complex as possible. In a Feistel network, each round consists of a substitution step followed by a permutation step. The design also often incorporates complex functions in each round and the use of round keys derived from the main key. Feistel networks benefit from being inherently invertible if the round function is well-designed, ensuring that any transformations can be reversed for decryption. These principles contribute to making block ciphers resilient against various attacks such as differential and linear cryptanalysis, forming the backbone of secure encryption standards, such as DES and AES .

You might also like