Python Programming

Cryptography: From One-Time Pads to RSA

4:16

Plays from YouTube. Watch on YouTube

How can two people exchange secrets when an adversary can read the network?

Meet encryption, the one-time pad, shared secrets, Diffie–Hellman and RSA.

We begin with a simple shift cipher and explain why reversibility is not the same thing as security.

From there, we examine the one-time pad's assumptions and how public-key mathematics supports shared-secret establishment.

Then we calculate a deliberately insecure miniature RSA example with exact modular powers, explaining both its correctness and its limits.

The big idea: cryptographic guarantees come from clearly stated assumptions and vetted constructions, not hidden algorithms.

Cryptography explained visually, one concept at a time.