Important announcement

Dear visitor,

Please note that this OpenCourseWare platform will be replaced at the end of 2026 by a new platform (under the same url ocw.tudelft.nl).

Courses and their contents that are currently available the platform will partly be migrated. URL’s for this content will change and content might be unavailable for some time. In addition, some courses will not be available anymore.

If you are linking to specific courses on this platform (for instance for your students), please take timely measures to avoid problems with access. Possible actions are:

  • Download the materials to your local platform (laptop, server)
  • For educators only (including TU Delft lecturers): Contact us at ocw@tudelft.nl and inform us what course you are using in what context (institute, program, period of use, number of students). We will research (in collaboration with the authors of the course) and decide if we will migrate the course, and if yes, can supply you with a new url.

Thank you.

5.2.1 Secure communication using the one-time pad

Course subject(s) Module 5: Quantum internet (part 2)

In this course, we have focused mostly on the truly quantum aspects of quantum computing and networking. In this lecture, we make an exception. Here, Tim Coopmans will introduce the one-time pad, an extremely simple, and very secure classical cryptographic protocol, which is not used in practice, due to the inconvenience of creating the shared randomness required to encrypt messages. We will see in the later lectures of this module exactly how this necessary shared randomness can be generated using quantum mechanics.

Main takeaways

  • Cryptography is the study of methods to transmit messages through channels which an eavesdropper can access, in such a way that the eavesdropper cannot read them.
  • There is a simple, classical scheme, called the one-time pad, which provides a sender and receiver (Alice and Bob) with a means of transmitting a secret message, given a string of random zeroes and ones which is the same size as the (binary-encoded) message.
  • To use the one-time pad, Alice simply adds the random bits to the message, and transmits the sum to Bob, who subtracts his copy of the random bits (both of these operations are equivalent to XOR when the messages are binary).
  • This cryptographic scheme can only fail if Eve gains access to the pad, or the same pad is used more than once.
Creative Commons License
The Building Blocks of a Quantum Computer: Part 2 by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://online-learning.tudelft.nl/courses/the-building-blocks-of-a-quantum-computer-part-2/.
Back to top
[sg_popup id=6]