1. Home
  2. Explore
  3. Computer Science
  4. Cryptography Fundamentals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Cryptography Fundamentals

  • 87Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Core Concepts
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is cryptography?

Tap to flipClick to flipspace

Cryptography is the use of mathematical rules and algorithms to transform readable data into an unreadable form to protect information.

Or swipe the card

87 cards

  1. What is cryptography?

    Cryptography is the use of mathematical rules and algorithms to transform readable data into an unreadable form to protect information.

  2. What is plaintext?

    Plaintext is readable, unencrypted data.

  3. What is ciphertext?

    Ciphertext is scrambled, unreadable data produced from plaintext through encryption.

  4. What is encryption?

    Encryption is the process of using an algorithm and a key to transform plaintext into ciphertext.

  5. What is decryption?

    Decryption is the process of converting ciphertext back into readable plaintext.

  6. What role does a cryptographic key play?

    A key controls how encryption and decryption are performed.

  7. What does confidentiality provide?

    Confidentiality ensures that only authorized individuals can view information.

  8. What does integrity provide?

    Integrity ensures that data remains accurate and unchanged while being stored or transmitted.

  9. What does authentication provide?

    Authentication verifies the identity of a sender or other entity.

  10. What is non-repudiation?

    Non-repudiation prevents a party from denying an action or transaction after performing it.

  11. What is obfuscation?

    Obfuscation makes data or its protections difficult for unauthorized people to understand.

  12. What is steganography?

    Steganography hides the existence of data by embedding secret messages inside image, audio, or video files.

  13. Where can steganography place hidden data in a file?

    It can place data in unused portions of a file, header fields, or spaces between metadata sections.

  14. What is a hash algorithm?

    A hash algorithm creates a fixed data representation that acts like a digital fingerprint.

  15. What is a hash digest?

    A digest is the output of a hash algorithm and represents the contents of the input data.

  16. Is hashing reversible?

    No. Hashing is described as a one-way process that cannot be reversed to recover the original data.

  17. What is the primary security use of hashing?

    Hashing helps verify data integrity and genuineness by showing whether data has been altered.

  18. What are examples of secure hash algorithms or hash families mentioned?

    SHA, RIPEMD, MD, and Whirlpool are mentioned as examples.

  19. What is a one-time pad?

    A one-time pad combines a message with a random key, and the key must be used only once.

  20. What is a stream cipher?

    A stream cipher encrypts data as a sequence, replacing or transforming individual characters or units of the message.

  21. What is a block cipher?

    A block cipher encrypts data by processing a whole block of information at once.

  22. What is a sponge function?

    A sponge function accepts an input of variable length and produces an output of variable length.

  23. How do stream ciphers and block ciphers differ?

    Stream ciphers process data sequentially, while block ciphers process larger fixed sections or blocks at once.

  24. Which cryptographic algorithm type uses the same key for encryption and decryption?

    Symmetric cryptography.

  25. Which cryptographic algorithm type uses a public key and a private key?

    Asymmetric cryptography.

  26. What is symmetric cryptography?

    Symmetric cryptography uses the same secret key to encrypt and decrypt data.

  27. Why is symmetric cryptography also called private-key cryptography?

    Because the shared encryption key must remain private between the communicating parties.

  28. What is a major advantage of symmetric cryptography?

    It is efficient and faster for encrypting large amounts of data.

  29. What is a major challenge of symmetric cryptography?

    The parties must securely distribute and protect the shared secret key.

  30. What happens if a symmetric key is not kept secure?

    Anyone who obtains the key may be able to decrypt the protected data.

  31. What is AES?

    AES, or Advanced Encryption Standard, is an example of a strong symmetric encryption algorithm.

  32. What other symmetric algorithms are mentioned?

    Blowfish, Twofish, and DES are mentioned as symmetric algorithms.

  33. What must both the sender and receiver have when using symmetric cryptography?

    They must both have the same secret key and keep it secure.

  34. What is asymmetric cryptography?

    Asymmetric cryptography uses two different but related keys: a public key and a private key.

  35. What is the purpose of an asymmetric public key?

    The public key is shared openly and can be used by others as part of the cryptographic process.

  36. What is the purpose of an asymmetric private key?

    The private key is kept secret by its owner and is used as the confidential counterpart to the public key.

  37. What is an advantage of asymmetric cryptography over symmetric cryptography for sharing keys?

    It avoids the need to share one secret key with every participant because the public key can be distributed openly.

  38. Can asymmetric keys work in both directions?

    Yes. The public and private keys can work together in either direction to support sharing and protection of information.

  39. What is RSA?

    RSA is an asymmetric cryptographic method based on large prime-number mathematics.

  40. What is ECC?

    ECC, or elliptic curve cryptography, is an asymmetric method that uses smaller keys while providing efficient security.

  41. How do RSA and ECC differ according to the content?

    RSA relies on large prime-number mathematics, whereas ECC uses elliptic-curve mathematics and smaller keys.

  42. What is DSA used for?

    DSA, or the Digital Signature Algorithm, creates digital signatures that verify the sender of a message.

  43. How can a digital signature support integrity?

    It helps prove that a message was not changed during transmission.

  44. How can a digital signature support non-repudiation?

    It helps prevent the signer from denying having sent or signed the message.

  45. What key-exchange methods are mentioned?

    Diffie-Hellman, ephemeral Diffie-Hellman, elliptic-curve Diffie-Hellman, and perfect forward secrecy are mentioned.

  46. What is file-level encryption?

    File-level encryption encrypts or decrypts individual files.

  47. What is file-system encryption?

    File-system encryption protects groups of files through the operating system's file-system capabilities.

  48. What is EFS?

    EFS, or Encrypting File System, is a Microsoft Windows feature that integrates encryption and decryption with the file system.

  49. What is full-disk encryption?

    Full-disk encryption encrypts all data on a hard drive, including the installed operating system.

  50. What is BitLocker?

    BitLocker is a Microsoft Windows example of full-disk encryption.

  51. What is volume-level encryption?

    Volume-level encryption protects a specific section of a drive called a volume.

  52. What is the difference between full-disk and volume-level encryption?

    Full-disk encryption protects the entire disk, while volume-level encryption protects a specific section or volume.

  53. What are two methods of database encryption?

    The plug-in method and transparent data encryption are two database-encryption methods.

  54. How does the database plug-in encryption method work?

    It adds an encryption module to the database management system.

  55. What is transparent data encryption?

    Transparent data encryption, or TDE, performs encryption and decryption within the database engine itself.

  56. Why is TDE considered easy to manage?

    It requires no additional packages or changes to the database engine or DBMS code.

  57. How can cryptography be integrated into hardware?

    Cryptographic functions can be embedded directly into hardware such as USB drives and standard hard drives.

  58. What is a self-encrypting drive?

    A self-encrypting drive automatically protects all data written to it.

  59. What happens during self-encrypting-drive startup authentication?

    The drive and host device authenticate each other during power-up.

  60. What is a blockchain?

    A blockchain is a shared, unchangeable record used to record transactions and track assets across a network.

  61. What is a public blockchain?

    A public blockchain is open to anyone who wants to join.

  62. What is a private blockchain?

    A private blockchain restricts participation to certain users.

  63. What is a federated blockchain?

    A federated blockchain combines public and private blockchain features.

  64. What is a hardware security module?

    An HSM is an external device used for cryptographic operations, key generation, and key storage.

  65. What functions does an HSM provide?

    It generates and stores cryptographic keys and speeds up symmetric and asymmetric encryption.

  66. What is a trusted execution environment?

    A trusted execution environment is a secure area within a computer that protects the confidentiality and integrity of code and data.

  67. What is a trusted platform module?

    A TPM is a recognized standard for a secure hardware area that provides cryptographic services.

  68. What asymmetric capability can a TPM provide?

    A TPM can create public and private key pairs.

  69. What is the name for the secure hardware area on Apple and Android devices?

    It is called a secure enclave.

  70. What can advanced hardware-encrypted USB devices allow administrators to do?

    They can remotely control access, disable a user's access, or command the device to erase stored data.

  71. What is a limitation of cryptography on low-power devices?

    Limited processing power, time, and energy make it difficult to apply strong cryptography without reducing performance.

  72. Why is cryptography challenging for devices requiring fast response times?

    Cryptographic algorithms require time and energy, which can compete with the device's need for rapid performance.

  73. What can happen when self-encrypting-drive authentication fails?

    The drive may deny access or delete its encryption keys, making the stored data permanently unreadable.

  74. What are algorithm attacks?

    Algorithm attacks use methods to exploit or bypass weaknesses in cryptographic algorithms or their operation.

  75. What is a known-ciphertext attack?

    A known-ciphertext attack analyzes encrypted data to identify patterns that may reveal the original data or encryption key.

  76. What is a downgrade attack?

    A downgrade attack forces a system to use an older, less secure mode instead of a stronger security mode.

  77. What is a collision attack?

    A collision attack attempts to find two different messages that produce the same hash value.

  78. What is a birthday attack?

    A birthday attack uses the birthday paradox to find two different messages with the same hash value more efficiently than expected.

  79. What does the birthday paradox illustrate?

    It illustrates that a relatively small group can have a surprisingly high probability of containing a matching pair.

  80. How can statistical analysis threaten encrypted data?

    It can reveal patterns in ciphertext that may help attackers infer the original data or the encryption key.

  81. What is a brute-force attack?

    A brute-force attack attempts to defeat protection by trying possible keys or passwords until one works.

  82. Why can quantum computing threaten current cryptography?

    Quantum computers may solve certain mathematical problems, such as factoring large numbers, much faster than traditional computers.

  83. What is a qubit?

    A qubit is the quantum-computing equivalent of a bit and can represent zero and one at the same time.

  84. How do traditional bits and qubits differ?

    A traditional bit is either zero or one, while a qubit can be both zero and one at the same time.

  85. What is post-quantum cryptography?

    Post-quantum cryptography consists of security methods designed to remain safe against quantum computers.

  86. What type of encryption protects all data on a hard drive, including the operating system?

    Full-disk encryption.

  87. Why does full-disk encryption protect a stolen laptop's data?

    The data remains encrypted and unreadable without the correct decryption key, even if the drive is removed and connected to another device.

Card 1 of 87
Card 1 of 87

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent