Cryptography - 2016
    [an error occurred while processing this directive]
  • schedule
  • [an error occurred while processing this directive]
  • examination
  • [an error occurred while processing this directive]
  • material
  • [an error occurred while processing this directive]
  • assignments
  • [an error occurred while processing this directive]
  • submission

Home Assignments

There are four compulsory assignments: three to be solved individually, one in pairs.

There are three compulsory home assignments to be solved individually and reported for grading using a web-based system.

For each assignment there is a deadline, on Friday afternoons at 16 am so that you can ask help during the exercise session in the morning. Note that the deadline is strict; the system will not accept submissions after the deadline. Empty or unreadable / incomplete files will not be counted.
Of course, if you are ill or have some other good reason, you can get an extended deadline. But you must then request such an extension in an email to Elena, explaining the reason.

We are really happy to help you and we love if you do a good work. To achieve it, we highly suggest you to use the Fire System to ask questions about the assignments.
If it is really strictly necessary, send an email to just one of the TA.


To pass the assignment, you should upload on the Fire system one solution within one week from the date that the assignment has been announced. This requirement is mandatory


After the first mandatory submission, if your solution to a home assignment is unsatisfactory, you have the possibility to redo (part of) it and report again as detailed in the grading report, for the maximum of two (2) times.

It is highly recommended to pass the assignment before the end of the course (December 15 2016).

The first three assignments must be done individually, this means that you are allowed (and encouraged) to discuss the problems in general terms, but you must write down the solution on your own, formulated in your own words.

Before (and after) Wednesday 16 November at noon (12:00), if you don't have a partner for the programming assignment , please send an email to Elena with subject pairing-up for the programming assignment and we will try to find a partner for you.
This assignment has a single deadline and you are free to send your submission when you want. It is highly recommended to submit the programming assignment before the end of the course (December 15 2016).

Either the case, the final deadline for all assignments is Monday January 9, at 10:00. This means that no re-submission is allowed after this date.

Home assignment 1

The assignment consists of two largely independent parts. In the first (and main) part you will study a well-known attack on an SSL channel and answer some questions. In the second part, you will encrypt your solution using gpg before submitting it

Deadline: Friday November 11, 16:00

Suggested deadline to upload your first submission to pass the assignment.

Allowed file extensions: .asc
Encrypted file using PGP.

Get started now!

Home assignment 2

In this assignment we explore the ElGamal encryption system. You will need access to one of the Chalmers linux machines to generate your personal encrypted messages. Remember to submit your personnummer as part of your report, so we can verify your solutions.

Allowed file extensions: .txt , .pdf

Deadline: Friday November 25, 16:00

Suggested deadline to upload your first submission to pass the assignment.

Get started now!

Home assignment 3

In this assignment you will break some simple, faulty cryptographic protocols, by demonstrating attacks against them. Note that what you will have to find is attacks against the protocol, not against the encryption primitives.

Allowed file extensions: .txt , .pdf

Deadline: Friday December 09, 16:00

Suggested deadline to upload your first submission to pass the assignment.

Get started now!

Programming assignment

We present you a collection of programming challenges on the material that we discussed during the course. Your task is to complete a number of these challenges. This assignment should preferably be done in pairs.

Allowed file extensions: .zip , .tar
The code need to be in an archive.

Deadline: Tuesday December 13, 16:00

Suggested deadline to upload your first submission to pass the assignment.