CS255: Introduction to Cryptography

Introduction to Cryptography

Winter 2016

Cryptography is an indispensable tool for protecting information in computer systems. This course explains the inner workings of cryptographic primitives and how to correctly use them.


Course syllabus (and readings)
Course overview (grading, textbooks, coursework, exams)
Lectures: Monday, Wednesday, 1:30-2:50pm, Gates B01
Sections: Friday, 2:30-3:20pm, Thornton 102
Questions for CAs: cs255ta@cs.stanford.edu or use Piazza
Videos: cs255 online   (for video lecftures covering the material in class)

Final Exam

Students may take the final at either one of the following two dates:

  • Option 1: (scheduled)   Monday, 3/14,  12:15-2:15pm, Dinkelspiel Aud.
  • Option 2: (alternate)   Sunday, 3/13,  12:15-2:15pm, Building 300, Room 300.

For remote SCPD students: Please email cs255ta@cs with your email address, the email address of your SCPD monitor if you have one, and which day you would like to take the exam. We will email a pdf to you which you should print, complete, and email back to us. We will email you with confirmation of receipt so hold on to your exam until you receive confirmation. Note that if you are local to the bay area, you must come to one of two exam slots unless you contact us in advance.


All homework submission is to be done via Gradescope. Please use course code 97X43M to sign up. Note that Gradescope requires that the solution to every problem start on a new page.

Homework #0:   html
Due: Jan. 13
Homework #1:   [pdf]    solutions: [pdf]
Due: Jan. 27
Homework #2:   [pdf]    solutions: [pdf]
Due: Feb. 22
Homework #3:   [pdf]
Due: Mar. 11


Project #1 (secure CDN):   pdf   starter code
Due: Friday, Feb. 12, 11:59pm
Project #2 (using TLS):   pdf  
Due: Wed., March 9, 11:59pm