Archived offering · View the current course

Fall 2024 · COS 433 / 533

Cryptography

Welcome! This is the course homepage for the Fall 2024 iteration of COS 433/533.

Meets
Tuesdays and Thursdays
11am-12:20pm
Location
CS 104
Instructor
Alex Lombardi
Office Hours: Thursdays 12:30pm-1:30pm, CS 312
TAs
Shreyas Gandlur
Office Hours: Tuesdays 5pm-6pm, Friend Center 010B
Yaxin Tu
Office Hours: Mondays 2pm-3pm, CS 401
Yuanhao Wang
Office Hours: Wednesdays 3pm-4pm, Friend Center 010A
Staff email
cos433staff@princeton.edu

Course Description

An introduction to the theory of modern cryptography. Topics covered include private key and public key encryption schemes, digital signatures, pseudorandom generators and functions, zero-knowledge proofs, and some advanced topics.

Course Requirements and Policies

Problem Sets

Problem sets will be assigned roughly once per week, with 8 in total. Problem sets will typically be released on Fridays at 11:59pm Eastern Time and due exactly one week later. UPDATE: problem sets will be due on Wednesdays starting from problem set 3, due October 2nd (see below).

Every problem set will have a "COS 433" section and a "COS 533" section; students enrolled in COS 433/533 should turn in solutions for the appropriate section. COS 433 students may submit solutions to COS 533 problems for (minor) extra credit, but are encouraged to prioritize the COS 433 problems and only attempt the advanced problems if they are looking for a challenge.

Enrolled students should submit solutions to the problem sets on Gradescope. Solutions must be typed; we strongly encourage typesetting solutions in LaTeX.

All problem sets will be posted below over the course of the semester.

Collaboration Policy

You are free (and strongly encouraged!) to collaborate with each other on problem sets. Please adhere to the following policies regarding collaboration and attribution.

  • Individually write up problem set solutions in your own words. You may not share write-ups with your collaborators.
  • List all student collaborators and consulted outside sources (e.g. textbooks) in your problem set solutions.
  • You may not consult large language models or AI assistants such as (Chat)GPT.

Late Submission and Homework Grading Policy

You may take up to two late days for any problem set. These extensions are granted automatically (no need to ask permission!). We cannot accept any submissions that are more than two days late. If you have an extenuating circumstance such as a medical emergency, please reach out to the course staff.

To encourage timely submission, two bonus points (out of 100) will be granted to submissions that are on time.

We will automatically drop your lowest problem set grade, so no single week will negatively impact your grade.

Take home final exam (COS 433 only)

COS 433 students will have a take-home final exam in December (during Finals Period). Students may not collaborate with each other or consult external sources while taking the Final Exam. However, you may use the textbooks and slides linked to directly on this website.

Time Period: Monday, 12/16 7am - Wednesday, 12/18 7am.

The exam will be available on gradescope.

Final Project (COS 533 only)

COS 533 students will do a final project that is either an original exposition of a topic not covered in this class, or (if you are interested in doing cryptography research) original research in cryptography. A suggested list of exposition topics will be provided.

Scribe Notes (COS 533 only)

Each student enrolled in COS 533 is required to write up scribe notes (in LaTeX) for one lecture. These notes may be posted on the course website. Sign up to scribe here.

Your Course Grade

In COS 433, your grade will be based on Problem Sets (70%) and the Take-Home Final Exam (30%)

In COS 533, your grade will be based on Problem Sets (60%), Scribing (10%), and the Final Project (30%)

Problem Sets

AssignmentReleasedDueLinks
Problem Set 1Problem Set 1
Problem Set 2.Problem Set 2.
Problem Set 3.Problem Set 3.
Problem Set 4Problem Set 4
Problem Set 5Problem Set 5
Problem Set 6Problem Set 6
Problem Set 7Problem Set 7
Problem Set 8Problem Set 8

Schedule

Scroll horizontally to see all columns on smaller screens.

DateTopicMaterialsReading
Introduction, Secret-Key Encryption.Lecture slides.KL Chapter 1
Perfect Secrecy.Lecture slides.KL Chapter 2
Computational Security.Lecture slides.KL Chapter 3, Sections 3.1-3.2
Pseudorandom Generators.Lecture slides.KL Chapter 3, Sections 3.3-3.4.1
CPA-secure Encryption.Lecture Slides.KL Sections 3.4.2-3.5,
Pseudorandom Functions.Lecture Slides.KL Sections 3.5, 8.5 (3rd Ed) ////// 3.6.1-3.6.2, 6.5 (1st Ed)
PRFs continued. Pseudorandom Permutations (Block Ciphers).Lecture Slides.KL Sections 3.5, 8.6 (3rd Ed) ////// 3.6.3-3.6.4, 5.2, 6.6 (1st Ed)
PRPs continued, Authentication.Lecture Slides.KL Sections 4.1-4.3 (3rd Ed) ////// 4.1-4.4, (1st Ed)
Authentication, CCA-secure Encryption.Lecture Slides.KL Chapter 5 (3rd Ed) ////// 3.7, 4.8 (1st Ed)
One-Way Functions, Hard-Core Predicates.Lecture SlidesKL Section 8.1 (3rd Ed) ////// 6.1 (1st Ed)
Goldreich-Levin Theorem.Lecture SlidesKL Section 8.3 (3rd Ed) ////// 6.3 (1st Ed). See also Sections 2.0, 2.2, and 3 of these notes (warning: the notes are somewhat dense).
Cryptography from Number Theory (Part I).Lecture SlidesKL Chapter 9, Section 10.2 (3rd Ed) ////// Chapter 7, Section 8.2 (1st Ed). Notes on Computational Number Theory.
No Class (Fall Recess)——
No Class: (Fall Recess)——
Cryptography from Number Theory (Part II), Public-Key Encryption.Lecture SlidesKL Chapter 9, Section 10.2 (3rd Ed) ////// Chapter 7, Section 8.2 (1st Ed).
Cryptography from Number Theory, Public-Key Encryption (Part III).Lecture Slides.KL Chapter 9, Section 10.2 (3rd Ed) ////// Chapter 7, Section 8.2 (1st Ed).
Discrete Logarithms (PKE Part IV).Lecture Slides.—
Digital Signatures (Part I).Lecture Slides.KL Sections 13.1, 13.2, 13.4.1 (3rd Ed)
Class Cancelled——
Digital Signatures (Part II). Hash functions and Random Oracles.Bellare-Rogaway Paper.KL Chapter 6 (3rd Ed). Boneh-Shoup Chapter 13.
Digital Signatures (Part III): RSA and DSA.Lecture Slides.Boneh-Shoup Chapter 13
Zero-Knowledge Proofs (Part I).Lecture SlidesGoldreich Chapter 4
Zero-Knowledge Proofs (Part II).Lecture SlidesGoldreich Chapter 4
Zero-Knowledge Proofs (Part III). Homomorphic Encryption (Part I).—Peikert Sections 4.2, 5.2. Vaikuntanathan's Lecture Notes.
No Class (Friday Schedule)——
No Class (Thanksgiving)——
Learning with Errors, Homomorphic Encryption (Part II): Fully Homomorphic Encryption.—Peikert Section 6.1. Vaikuntanathan's Lecture Notes.
Homomorphic Encryption (Part III). Delegation of Computation.——

Resources

Advanced Readings

  • Notes on One-Way Functions and Pseudorandom Generators
  • Tutorials on the foundations of cryptography (ed. Yehuda Lindell)