Skip to content
KALANBLON
Show contents

Chapter 3 of 6 · 10 min

Quiz: hiding a message

Caesar, brute force, XOR and the one-time pad: check that you can hide a message and recognise a weak cipher. You need 70% correct answers to pass this quiz.

Quiz

7 questions · pass mark: 70%

  1. 1.According to Kerckhoffs's principle, what must remain secret?

    One answer

  2. 2.With the Caesar cipher and key 3, what does the word "cat" become?

    Complete the code

  3. 3.Why is the Caesar cipher so easy to break?

    One answer

  4. 4.What is 1 XOR 1?

    One answer

  5. 5.We encrypted m with the key k: c = m ^ k. What does c ^ k give?

    One answer

    c = m ^ k
    result = c ^ k
  6. 6.Which conditions must be met for a one-time pad to be perfect?

    Several answers possible

  7. 7.Which Python module should you use to generate a secret key?

    One answer

Your progress is saved on this device. Create a free account to keep your progress on all your devices.