1. Home
  2. Explore
  3. Computer Science
  4. Secret-Key Encryption

Study methods

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

Secret-Key Encryption

  • 34Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Encryption Basics
The process of encoding information to protect it against unauthorized access is called
.

34 questions

  1. 1
    The process of encoding information to protect it against unauthorized access is called
    _____
    .
    Hint

    It transforms readable information into a protected form.

    Answer

    encryption

    Explanation

    Encryption encodes information so that unauthorized people cannot readily understand it.

  2. 2
    The original information that is supplied to an encryption process is called
    _____
    .
    Hint

    It is the readable input before it is encoded.

    Answer

    plain text

    Explanation

    Plain text is the original information that encryption transforms.

  3. 3
    The encoded form produced from plain text by encryption is called
    _____
    .
    Hint

    It is the transformed output of encryption.

    Answer

    Cipher text

    Explanation

    Encryption converts plain text into Cipher text.

  4. 4
    The process that reverses encryption and retrieves the original plain text is called
    _____
    .
    Hint

    It transforms the encoded output back into readable information.

    Answer

    decryption

    Explanation

    Decryption reverses encryption to recover the original plain text from Cipher text.

  5. 5
    To transform plain text into Cipher text or recover plain text from Cipher text, encryption and decryption use a
    _____
    .
    Hint

    It is an input used by the encryption method.

    Answer

    key

    Explanation

    A key is used in both encryption and decryption operations.

  6. 6
    The transformation from plain text to Cipher text is encryption; the reverse transformation from Cipher text to plain text is
    _____
    .
    Hint

    It restores the information that was originally readable.

    Answer

    decryption

    Explanation

    Decryption reverses the encryption process and retrieves the original plain text.

  7. 7
    In secret key encryption, the same key is used for both encryption and
    _____
    .
    Hint

    The key is shared across the forward and reverse processes.

    Answer

    decryption

    Explanation

    Secret key encryption uses one key to encrypt information and the same key to decrypt it.

  8. 8
    Because secret key encryption uses the same key for encryption and decryption, it is also called
    _____
    cryptography.
    Hint

    The name refers to using the same key on both sides.

    Answer

    symmetric key

    Explanation

    Secret key encryption is also known as symmetric key cryptography because its encryption and decryption keys are the same.

  9. 9
    In public key encryption, the encryption key is
    _____
    the key used for decryption.
    Hint

    Unlike secret key encryption, the two keys are not identical.

    Answer

    different from

    Explanation

    Public key encryption uses different keys for encryption and decryption.

  10. 10
    Because public key encryption uses different encryption and decryption keys, it is also called
    _____
    cryptography.
    Hint

    The name contrasts with the method that uses the same key.

    Answer

    asymmetric key

    Explanation

    Public key encryption is also called asymmetric key cryptography because its two keys differ.

  11. 11
    A system that encrypts and decrypts with the same key belongs to the
    _____
    encryption method.
    Hint

    This method is also known by a name describing matching keys.

    Answer

    secret key

    Explanation

    Secret key encryption uses the same key for both operations, unlike public key encryption.

  12. 12
    The bit-level operation used as the encryption algorithm in the demonstration is
    _____
    .
    Hint

    Its full name is exclusive OR.

    Answer

    XOR

    Explanation

    The example uses the XOR operation to combine each plaintext byte with the key.

  13. 13
    In an XOR operation, the output is 1 when the two input bits are
    _____
    .
    Hint

    Compare the inputs in the pairs 0 and 1 or 1 and 0.

    Answer

    different

    Explanation

    XOR produces 1 when its two input bits differ.

  14. 14
    In an XOR operation, the output is 0 when the two input bits are
    _____
    .
    Hint

    Consider the pairs 0 and 0 or 1 and 1.

    Answer

    the same

    Explanation

    XOR produces 0 when its two input bits match.

  15. 15
    The example encrypts the word
    _____
    as its plain text.
    Hint

    It is a six-letter word used to demonstrate encoding.

    Answer

    attack

    Explanation

    The example uses the word attack as the plaintext input.

  16. 16
    The character A in the example is represented in hexadecimal ASCII as
    _____
    .
    Hint

    This is the first byte shown for the word attack.

    Answer

    41

    Explanation

    The example gives A the hexadecimal ASCII representation 41.

  17. 17
    The character T in the example is represented in hexadecimal ASCII as
    _____
    .
    Hint

    The same byte representation is used for both occurrences of this letter.

    Answer

    54

    Explanation

    The example gives T the hexadecimal ASCII representation 54.

  18. 18
    The character C in the example is represented in hexadecimal ASCII as
    _____
    .
    Hint

    Its hexadecimal representation begins with 4.

    Answer

    43

    Explanation

    The example gives C the hexadecimal ASCII representation 43.

  19. 19
    The character K in the example is represented in hexadecimal ASCII as
    _____
    .
    Hint

    Its second hexadecimal digit is the letter B.

    Answer

    4B

    Explanation

    The example gives K the hexadecimal ASCII representation 4B.

  20. 20
    The one-byte key used in the XOR encryption example is
    _____
    in hexadecimal.
    Hint

    It is represented by the hexadecimal digits 7 and 3.

    Answer

    73

    Explanation

    The example selects 73 hex as the secret key and applies it to each plaintext byte.

  21. 21
    The hexadecimal key 73 is represented in binary as
    _____
    .
    Hint

    Write each hexadecimal digit as four binary bits.

    Answer

    01110011

    Explanation

    The hexadecimal digits 7 and 3 correspond to 0111 and 0011, giving 01110011.

  22. 22
    In the example, each plaintext byte is combined with the key
    _____
    by bit during encryption.
    Hint

    The operation compares corresponding positions in the two byte strings.

    Answer

    bit

    Explanation

    The example performs XOR bit by bit between each plaintext byte and the key.

  23. 23
    The XOR encryption of the plaintext byte 41 hex using the key 73 hex is
    _____
    .
    Hint

    Apply XOR to the corresponding binary bits of 41 and 73.

    Answer

    32

    Explanation

    XORing the hexadecimal plaintext byte 41 with key 73 produces the ciphertext byte 32.

  24. 24
    Applying the key 73 hex with XOR to the bytes of attack produces ciphertext bytes
    _____
    .
    Hint

    XOR each of the six ASCII bytes with the same key byte.

    Answer

    32 27 27 32 30 38

    Explanation

    The example XORs the ASCII bytes for attack with 73 hex, yielding 32 27 27 32 30 38 in hexadecimal.

  25. 25
    To decrypt the example ciphertext, the receiver applies XOR with the
    _____
    used during encryption.
    Hint

    Secret key encryption reuses one key for both directions.

    Answer

    same key

    Explanation

    The example decrypts by applying XOR to the ciphertext using the same key, 73 hex.

  26. 26
    The XOR decryption example recovers the original plain text
    _____
    .
    Hint

    It is the word that was encrypted in the demonstration.

    Answer

    attack

    Explanation

    Applying XOR with the original key to the ciphertext retrieves the word attack.

  27. 27
    Because XOR with the key reverses the example encryption when applied again, XOR serves as both the encryption and
    _____
    operation.
    Hint

    It is the process that recovers the original plaintext.

    Answer

    decryption

    Explanation

    The example uses the same XOR algorithm and key to encrypt and to decrypt.

  28. 28
    The XOR example is described as a weak encryption method because a plaintext byte and its corresponding ciphertext byte can reveal the
    _____
    .
    Hint

    The paired values allow an observer to undo the XOR combination.

    Answer

    key

    Explanation

    For XOR encryption, XORing a known plaintext byte with its ciphertext byte reveals the corresponding key byte.

  29. 29
    In the example, XORing the plaintext byte 41 hex with its ciphertext byte 32 hex reveals the key byte
    _____
    .
    Hint

    Apply XOR to the plaintext and ciphertext bytes.

    Answer

    73

    Explanation

    The XOR of 41 and 32 hex is 73 hex, which is the key used in the example.

  30. 30
    An encryption approach that processes information byte by byte, as in the demonstration, is a
    _____
    cipher.
    Hint

    The term contrasts with a method that processes blocks of text.

    Answer

    stream

    Explanation

    The demonstration processes bytes individually and is described as a stream cipher.

  31. 31
    A cipher that processes text in groups called blocks is a
    _____
    cipher.
    Hint

    Its name describes the units of text it encrypts.

    Answer

    block

    Explanation

    Block ciphers perform encryption on blocks of text rather than processing each byte individually.

  32. 32
    The XOR encryption example is presented as a simple demonstration, not as a
    _____
    practical encryption technique.
    Hint

    The example is described as weak and easy to attack.

    Answer

    strong

    Explanation

    The example is intended to explain secret key encryption and is not considered strong practical encryption.

  33. 33
    Compared with the demonstration's one-byte key, practical encryption algorithms use much
    _____
    keys.
    Hint

    A greater number of key bits makes the key harder to recover by simple guessing.

    Answer

    longer

    Explanation

    The content notes that practical encryption algorithms use many more bits for their keys than the simple example.

  34. 34
    Practical encryption algorithms are described as more
    _____
    than the simple XOR illustration.
    Hint

    They do not rely only on the elementary operation shown in the example.

    Answer

    complex

    Explanation

    The example is deliberately simple; practical encryption algorithms are more complex.

1 of 34
Question 1 of 34

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent