Cryptography and Architectures for Computer Security - 095947

The course aims to provide a systematic formation on cryptographic techniques currently employed in communications and data storage, focusing on algorithms and architectures and protocols.

Monday (14:30-16:15) classroom L.26.01, Building 26
Thursday (14:30-16:15) classroom L.26.01, Building 26

Gerardo Pelosi
(gerardo.pelosi -at-

Teaching Assistant:
Alessandro Barenghi
(alessandro.barenghi -at-

Office hours:
Wednesday (16:00-19:00),
Building 20, 1st floor, Office 127
or upon appointment through e-mail

Topics for the optional course PROJECT

Reference Material

Course Schedule

Exam Layout

Exam Sessions

Past Exam Papers

Reference Material

There is no single assigned textbook for this course, Slides and lecture notes will be made available during the course. A very good reference for most of the course topics is:

Additional material that you might find useful:

  • Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone, Handbook of Applied Cryptography,avaliable online freely at
  • Jonathan Katz, Introduction to Modern Cryptography, August 2007, Chapman & Hall/CRC Press
  • Christopher Swenson, Modern Cryptanalysis: Techniques for Advanced Code Breaking March 2008, Wiley
  • Stefan Mangard, Elisabeth Oswald, Thomas Popp, Power Analysis Attacks - Revealing the Secrets of Smartcards Springer (available online via Polimi subscription to Springer)

If you are willing to try some practical challenges in the field of cryptography for fun, you can have a look here

Course Schedule

Day Classroom L/E Topic Reference Material
1 Mon. 2/March Room 26.01 (EX L.26.01) 14:15-16:15 TbW TbW
2 Thu. 5/March Room 26.01 (EX L.26.01) 14:15-16:15 TbW TbW

Exam layout

There will be a 2h/2h30 written examination on the subjects of the course, which will include both questions and exercises.
It is possible to integrate the exam score with an optional practical project yielding at most a +6 increase in the evaluation (groups with at most 2 people).
However, a sufficient score in the written part must be obtained.

Project Guidelines

In order to take on a project you must contact both the teacher and the instructor (keep them both as CC) for both asking details and the natural communication which will ensue during the project development. For the sake of unambiguity you must always keep both of them in all your communications. Contact e-mails not complying with this will not be answered.

The project includes a reasonably-sized report and a short (10-15 minutes) presentation to be delivered to the teacher and the instructor. If the project involves the production of code, a Polimi-hosted git repository will be provided, with ssh public-key based access.

The project should be delivered at least a week in advance with respect to the exam date in which you want it to be evaluated (it may be different from the date of the written examination).

A preliminary list of projects is available with more project descriptions to come.
The assignment policy is “first-come-first-served”.

The projects proposals are available here; autonomous project proposals are welcome and will be taken into consideration.

Exam Sessions

Please check the PoliSelf at least 10 days before the written exam test to confirm the date, hour and room.

1st call on June, 26th 2020, 9:00 Room: to be assigned

2nd call on July 10th, 2020, 9:00, Room: to be assigned

The subscription to the exam session you want to take is mandatory in order to have the grade registered.

Past Exam Papers

February 18th, 2020 - Questions
February 18th, 2020 - Solutions

January 20th, 2020 - Questions
January 20th, 2020 - Solutions

September 6th, 2019 - Questions
September 6th, 2019 - Solutions

July 24th, 2019 - Questions
July 24th, 2019 - Solutions

July 2nd, 2019 - Questions
July 2nd, 2019 - Solutions

June 25th, 2019 - Solutions

January 24th, 2019 - Questions
January 24th, 2019 - Solutions

September 13th, 2018 - Questions
September 13th, 2018 - Solutions

July 17th, 2018 - Questions
July 17th, 2018 - Solutions

June 21st, 2018 - Questions
June 21st, 2018 - Solutions

February 23th, 2018 - Solutions

February 2nd, 2018 - Questions
February 2nd, 2018 - Solutions

September 12th, 2017 - Solutions

July 5th, 2017 - Questions
July 5th, 2017 - Solutions

February 9th, 2017 - Solutions

September 28th, 2016 - Questions
September 28th, 2016 - Solutions

September 14th, 2016 - Questions

July 20th, 2016 - Questions
July 20th, 2016 - Solutions

July 4th, 2016 - Questions
July 4th, 2016 - Solutions

July 1st, 2015 - Questions
July 1st, 2015 - Solutions

July 22nd, 2015 - Questions
July 22nd, 2015 - Solutions

September 9th, 2015 - Questions
September 9th, 2015 - Solutions

September 30th, 2015 - Questions

Exercise book -- It includes exercises taken also from past exam questions

Creative Commons License
This courseware is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.