Logo/

Introduction to Cryptography and Security

Log in

Made with ScholarlyMake flashcards like these from your own notes

Introduction to Cryptography and Security

Questions and answers

60 cards
  1. Question:How is the broad field of cryptology divided into two main branches?

    Answer:Cryptology consists of Cryptography (designing security techniques) and Cryptanalysis (breaking or forging security techniques).

  2. Question:What is the primary focus of computer security compared to network security?

    Answer:Computer security protects devices and the data stored on them, while network security protects data during transmission between machines.

  3. Question:What are the five main components required for a symmetric encryption system?

    Answer:Plaintext (original message), encryption algorithm, secret key, ciphertext (scrambled message), and decryption algorithm.

  4. Question:How does symmetric encryption differ from asymmetric encryption regarding key usage?

    Answer:Symmetric encryption uses one shared secret key for both locking and unlocking. Asymmetric encryption uses two keys: a public key and a private key.

  5. Question:What is the difference between the two types of passive attacks: release of message contents and traffic analysis?

    Answer:Release of message contents involves reading private data. Traffic analysis involves studying communication patterns (who, when, how often) to infer secrets.

  6. Question:Name and define the four main categories of active attacks.

    Answer:1. Masquerade (pretending to be someone else). 2. Replay (resending old data). 3. Modification (changing message content). 4. Denial of Service (flooding a server).

  7. Question:What are the primary security goals threatened by passive attacks versus active attacks?

    Answer:Passive attacks threaten confidentiality. Active attacks threaten integrity and availability.

  8. Question:What does Kerckhoffs's Principle state regarding the security of a system?

    Answer:Security should depend solely on the secrecy of the key, not on the secrecy of the encryption algorithm.

  9. Question:List and define the five primary security services identified in the X.800 standard.

    Answer:1. Authentication (verifies identity). 2. Access control (limits actions). 3. Confidentiality (secrecy). 4. Integrity (no tampering). 5. Nonrepudiation (legal proof of participation).

  10. Question:How do substitution ciphers differ from transposition ciphers?

    Answer:Substitution ciphers replace elements (e.g., A becomes D), changing identity. Transposition ciphers rearrange the order of elements, changing position.

  11. Question:What is a Caesar cipher, and why is it considered weak today?

    Answer:It shifts letters by a fixed number of positions. It is weak because it only has 25 possible keys, which can be broken by a brute-force attack.

  12. Question:What is the 'fatal flaw' of a Monoalphabetic cipher despite its massive key space?

    Answer:It does not change the relative frequency of letters, making it vulnerable to frequency analysis.

  13. Question:How does the Playfair cipher improve upon simple substitution methods?

    Answer:It encrypts pairs of letters (digraphs) using a 5x5 grid, which hides individual letter frequencies.

  14. Question:How does the Rail Fence cipher scramble a message?

    Answer:It writes the message in a zigzag pattern across multiple rails and then reads across each rail row.

  15. Question:What are the three main areas of security protection based on where the data is?

    Answer:Computer security (on devices), Network security (during transmission), and Internet security (across global networks).

  16. Question:What is the main drawback of symmetric encryption despite its speed?

    Answer:It is difficult to distribute the secret key securely to all recipients.

  17. Question:What is the defining characteristic of an asymmetric encryption system?

    Answer:It uses a pair of keys: a public key for encryption and a private key for decryption.

  18. Question:How does traffic analysis work as a passive attack?

    Answer:The attacker observes metadata like identity, frequency, and length of messages to infer information without reading content.

  19. Question:What is the goal of a Denial of Service (DoS) attack?

    Answer:To disrupt a system or server by flooding it with traffic so it cannot serve legitimate users.

  20. Question:Why are active attacks generally easier to detect than passive attacks?

    Answer:Active attacks involve changes to data or disruption of services, which leave visible traces or cause errors.

  21. Question:According to the X.800 standard, what is the purpose of 'Nonrepudiation'?

    Answer:To provide proof of participation in a communication so neither party can deny their actions later.

  22. Question:What is a substitution cipher?

    Answer:A method where each element in the original message is replaced by a different character or symbol.

  23. Question:Why is a Caesar cipher with a shift of 3 vulnerable to brute-force attacks?

    Answer:There are only 25 possible shifts in the English alphabet, so an attacker can quickly check every single one.

  24. Question:What is frequency analysis and why does it break Monoalphabetic ciphers?

    Answer:It studies how often certain letters appear in a language. Since these ciphers don't change letter frequency, the most common cipher character still represents the most common language character (like 'E').

  25. Question:Describe the basic mechanism of the Playfair cipher.

    Answer:It encrypts pairs of letters (digraphs) by placing them in a 5x5 grid and applying specific rules based on their position.

  26. Question:What is the Rail Fence cipher?

    Answer:A transposition cipher that writes the plaintext in a zigzag pattern and then concatenates the rows to form ciphertext.

  27. Question:What are the two main halves of Cryptology?

    Answer:Cryptography (designing techniques) and Cryptanalysis (breaking/forging techniques).

  28. Question:What does Internet security protect specifically?

    Answer:Data as it travels across a global 'network of networks.'

  29. Question:What is the role of the secret key in symmetric encryption?

    Answer:It is a shared secret used by both the encryption algorithm to scramble data and the decryption algorithm to unscramble it.

  30. Question:Why is asymmetric encryption slower than symmetric encryption?

    Answer:It involves more complex mathematical operations using two different keys (public and private).

  31. Question:Define the 'Masquerade' active attack.

    Answer:An attack where an entity pretends to be a different entity, often to gain unauthorized access.

  32. Question:What is the focus of defense for active attacks versus passive attacks?

    Answer:Defense for passive attacks focuses on prevention (encryption). Defense for active attacks focuses on detection and recovery.

  33. Question:What does it mean for a system to be 'robust' under Kerckhoffs's Principle?

    Answer:The system remains secure even if the encryption algorithm is public, as long as the key is kept secret.

  34. Question:What is the purpose of the 'Integrity' security service?

    Answer:To ensure that data has not been tampered with or modified during transmission or storage.

  35. Question:Explain the difference between substitution and transposition in classical encryption.

    Answer:Substitution changes character identity (swapping letters). Transposition changes character position (shuffling order).

  36. Question:Why is the Caesar cipher very easy to break?

    Answer:It has a very small key space of only 25 possible shifts, making it easy to test all of them.

  37. Question:How many possible keys does a Monoalphabetic cipher have?

    Answer:Over 400 septillion.

  38. Question:What is a digraph in the context of the Playfair cipher?

    Answer:A pair of letters treated as a single unit for encryption.

  39. Question:Explain the 'Rail Fence' encryption process.

    Answer:Write the message in a zigzag pattern across multiple lines (rails) and then read horizontally across each row.

  40. Question:What are the two types of passive attacks?

    Answer:Release of message contents and traffic analysis.

  41. Question:Define the 'Modification' active attack.

    Answer:An attack where an attacker changes or alters the contents of a legitimate message.

  42. Question:What is the 'public key' in asymmetric encryption?

    Answer:A key that is shared openly with anyone, used to encrypt messages for the key's owner.

  43. Question:What is the 'Plaintext' in an encryption system?

    Answer:The original, readable message before it has been encrypted.

  44. Question:Which security service provides 'legal proof of participation'?

    Answer:Nonrepudiation.

  45. Question:What is the 'Decryption algorithm'?

    Answer:The set of rules or mathematical processes used to turn ciphertext back into readable plaintext.

  46. Question:What is the 'Traffic Analysis' attack?

    Answer:A passive attack where the attacker studies communication patterns (like who is talking to whom) to infer secrets.

  47. Question:What is the 'Masquerade' attack?

    Answer:An active attack where an attacker pretends to be a legitimate user to gain access.

  48. Question:What does 'Availability' mean in security?

    Answer:Ensuring that a system and its data are accessible to legitimate users when needed.

  49. Question:What is the 'X.800' standard?

    Answer:A standard that defines five primary security services for network security.

  50. Question:What is a 'Transposition cipher'?

    Answer:A cipher that rearranges the order of the original characters without changing the characters themselves.

  51. Question:What is 'Frequency Analysis'?

    Answer:A technique for breaking ciphers by analyzing the statistical frequency of letters in a ciphertext.

  52. Question:What is the 'Zigzag' pattern in the Rail Fence cipher?

    Answer:The way the message is written across rows before reading them horizontally to create ciphertext.

  53. Question:What is a 'Release of message contents' attack?

    Answer:A passive attack where the attacker reads the private data of a message without permission.

  54. Question:What is a 'Replay' attack?

    Answer:An active attack where an attacker captures a legitimate message and resends it later to fool the system.

  55. Question:What is 'Confidentiality' in security?

    Answer:The service that ensures only authorized parties can read the content of a message.

  56. Question:Define the 'Access Control' service.

    Answer:A security service that limits what an authenticated user is allowed to do or see in a system.

  57. Question:What is a 'Monoalphabetic Cipher'?

    Answer:A substitution cipher where each letter in the plaintext is replaced by a fixed letter from a randomly shuffled alphabet.

  58. Question:What is a 'Digraph'?

    Answer:A pair of two letters treated as a single block during encryption, such as in the Playfair cipher.

  59. Question:What is the 'Zigzag' in cryptography?

    Answer:The specific movement pattern used to write plaintext in a Rail Fence transposition cipher.

  60. Question:Define 'Cryptanalysis' in simple terms.

    Answer:The study or science of breaking encryption systems or finding ways to forge authentic data.