Save this video free

Lecture 11: Cryptography

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

Part of Temple University CIS 1051. See all 23 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

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.

Transcript excerpt

0:01 All right. So, you should have gotten your email about the >> No, just leave it. I maybe I don't know. Pen pen pens are ephemeral. Nobody owns pens. They just come and go and you just pick one up. All right. So, let's go to Canvas. I've updated what we needed to do for the day on Canvas. Um uh normally I would be normally because of scheduling I would be holding the exam like sorry the exam review today and then like the exams would start tomorrow or whatnot. But between the way or I would have held an exam review on

0:49 Sunday, but between uh the wellness day and just this way things are arranged this semester. Uh the your exam will be held on uh on week seven. So that means the exam will be held from uh the 6th from uh October 6th to October 13th, you are so the what does this mean for you? Uh first off, your exam is in your lab. That's why it's got a range. You are expected to take your exam in your lab.

1:38 So, you just can't like choose um to take your exam on Monday. That that will be treated as deliberate malfeasants on your part, right? Like why would you show up to a different lab? You take it in your lab section. Okay? Um unless otherwise coordinated with me and the TA well in advance, right? that because remember there's only so many uh seats we have in that room and I would assume everybody shows up for the exam and so if you just show up there you're depriving somebody else of their actual seat kind be a bit of a jerk move you know so um

2:26 so show up to your actual exam uh you'll

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

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.