Back to Python projects

Secret Agent Chat

Learn how to create and use an encryption technique known as one-time pad and send secret messages to your friends.

Start project Download lesson plan PDF
Secret agent

What you will learn

  • How random numbers can be used to encrypt messages
  • How iteration can be used to encrypt individual characters
  • Why techniques such as the Caesar cipher are insecure
  • Why it’s important to keep your keys a secret

What you will need

  • A computer with Python 3 installed

Curriculum alignment for this project

Use this guide to see how Code Club delivers on the NDTC.