CS255: Introduction to Cryptography

Introduction to Cryptography

Winter 2011

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, 2:15-3:30pm, Huang Aud.
Sections: Friday, 3:15pm-4:05pm, Gates B01.
Questions for CAs: cs255ta@cs.stanford.edu
Discussion Group: Piazzza (for discussion with CAs and other students). Signup for a Piazzza account

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, Huang Aud.
  • Option 2: (alternate)   Tuesday, 3/15,  12:15-2:15pm, Huang Aud.

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 fax back to us at 650 725-4671. Also email us when you fax the exam back so we can be on the lookout for it. 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.


Homework #1:   [pdf]    solutions: [pdf]
Due: Jan. 31, in class
Homework #2:   [pdf]    solutions: [pdf]
Due: Feb. 16, in class
Homework #3:   [pdf]    solutions: [pdf]
Due: Mar. 7 in class.


Project #1:   Encrypted tweets.   pdf  ,     starter script
milestone #1: due Jan 28, 11:59pm    milestone #2: due Feb 6, 11:59pm
Project #2:   SSL MiTM.   pdf     starter code
Due: Mar. 9, 11:59pm