Save this video — free

Lecture 11: Cryptography

Professor Rosen · 1:09:11 · Watch on YouTube

Lecture 11: Cryptography Watch on YouTube →

Overview

The lecture introduces cryptography through historical examples and Python implementations, moving from substitution ciphers and Caesar’s shift to Vigenère, public-key cryptography, and one-time pads. It demonstrates ASCII-based Caesar encryption with modulo 26, brute-force decryption of all 26 shifts, and key-based substitution, while explaining why weak ciphers can be attacked and why man-in-the-middle attacks remain a practical threat.

Key takeaways

Chapters

0:00 Exam Schedule, Lab Sections, and Practice Exam Logistics
5:00 Practice Exam Guidance and Optional Lab 6 Assignments
10:48 Ciphertext, Plaintext, and Cryptanalysis in Military Communications
23:30 Julius Caesar’s Shift Cipher and Its Limited Key Space
30:15 Encoding Letters with Python ord, chr, and ASCII
38:00 Wrapping Caesar Shifts with Modulo 26
45:25 Brute-Force Caesar Decryption Across All 26 Shifts
51:05 Vigenère Encryption with a Repeating Keyword
55:40 Arbitrary Substitution Keys in Python
1:00:20 Reversing Substitution and Decoding a Lewis Carroll Passage
1:02:40 RSA and Public-Key Cryptography
1:05:00 One-Time Pads and the Challenge of True Randomness
1:07:25 Man-in-the-Middle Attacks Exploit Trusted Communication

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Professor Rosen.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.