TMA4160 Cryptography, Fall 2014


  • 11 December 2014: Here are the results from yesterdays exam.
  • 10 December 2014: Here are todays exam and here are the solutions.
  • 4 December 2014: Question hours will be in room 734 from 10:15-11:45 on Monday 8 December. If you are not able to attend at this time and have questions, send me an e-mail and we will find another time for questions.

    Note: I will in general not be in my office on Monday 8 December and Tuesday 9 December, therefore do not rely on stoping by my office to ask questions on these days (send me an e-mail and we will find a time and place).
  • 20 November 2014: Someone asked me about the permitted aids on the exam after the lecture on tuesday. The support material code for TMA4160 i B, meaning you are allowed to bring any handwritten og printed support material, and in addition one calculator. There are four permitted types of calculators, which they are and more on permitted aids can be found here.
  • 16 November 2014: The curriculum is made final.
  • 11 November 2014: Here is a summary of what was discused in todays reference group meeting.
  • 3 November 2014: Slides from today's lecture. (They contain an easter egg!)
  • 10. October 2014: A summary of what was discussed in Wedensdays reference group meeting can be found here
  • 30. September 2014: A draft on Diffie-Hellman, discrete logarithms and Elliptic curves has been uploaded to the lecture plan page. Note that it is a draft, so there might typos (and errors) in there.
  • 24. September 2014: The lecture plan is updated, and the code us for the examples during the previous lecture can be found here.
  • 18. September 2014: It has been noted to me that chapters 3.5 and 3.6 has not been included in neither the curriculum nor the lecture plan, even though I have lectured a bit about DES and AES. This is because it is not relevant for the exam. It is only lectured for motivational/interest reasons. All other topics covered so far is covered by the chapters mentioned in the lecture plan.
  • 15. September 2014: The note for the ElGamal problem has been updated, and now includes a rough guide for running Python files. Let me (Martin) know if it is still incomprehensible.
  • 10. September 2014: Code for the vigenere cipher has been added. So has code for doing ElGamal over both Z_p and Elliptic curves (also contains code for doing additions on elliptic curves). You can find the code here.
  • 8. September 2014: Todays masterpiece can be found here.
  • 3. September 2014: A modified (improved) version of the code I used to show the affine cipher and the substitution cipher can be found in the lecture notes plan. Code for the vigenere cipher will come at a later time.
  • 27. August 2014: The first reference group meeting took place today. Here is a summary of what was discussed.

Old messages


  • Monday: 08:15-10:00, K27 S265
  • Tuesday: 10:15-12:00, F2


  • Tuesday: 14:15-16:00 in R4 F3
2014-12-11, Anders Smedstuen Lund