Logo UAB

Cryptography and Security

Code: 104355 ECTS Credits: 6
Degree Type Year Semester
2503758 Data Engineering OB 3 2
The proposed teaching and assessment methodology that appear in the guide may be subject to changes as a result of the restrictions to face-to-face class attendance imposed by the health authorities.


Guillermo Navarro Arribas

Use of Languages

Principal working language:
catalan (cat)
Some groups entirely in English:
Some groups entirely in Catalan:
Some groups entirely in Spanish:


There are no mandatory requirements. It is advisable however to have gained the knowledge of previous subjects related to algebra, information theory, probability, and programming.

Objectives and Contextualisation

This subject will give an introduction to cryptography. The main goal i for students to learn the fundamental principles and tools used nowadays in cryptography.


  • Conceive, design and implement efficient and secure data storage systems.
  • Develop critical thinking and reasoning and know how to communicate it effectively in both your own language and in English.
  • Transmit data with efficiency, precision and security.
  • Work cooperatively in complex and uncertain environments and with limited resources in a multidisciplinary context, assuming and respecting the role of the different members of the group.

Learning Outcomes

  1. Apply mechanisms to ensure the safe transmission of information.
  2. Choose the most suitable cryptographic mechanisms for protecting different types of information.
  3. Develop critical thinking and reasoning and know how to communicate it effectively in both your own language and in English.
  4. Work cooperatively in complex and uncertain environments and with limited resources in a multidisciplinary context, assuming and respecting the role of the different members of the group.



  • Introduction to cryptography
  • Mathematical foundations of cryptography
  • Symmetric key cryptography
  • Hash functions
  • Public key cryptography
  • Public key infrastructures
  • Protocols for secure data transmission
  • Encrypted data analysis


The course is taught in two weekly sessions of 2 hours each. Each session will be held in a single classroom with computers or the possibility of plugging in student laptops. There is no clear distinction between theory, problems and laboratory sessions. These will alternate during the course as appropriate to the follow-up of the subject. In general, for each topic to be addressed, theoretical concepts will be introduced together with some applied activities such as problem solving or seminars. It is recommended for students to review the materials for each session prior to the respective class. Active participation in problem solving will be encouraged participating in its resolution, presentation and debate in the classroom. During the course some laboratory practices or work seminars will be carried out, where one or more problems will be posed that will require the design and implementation of a complete solution.

More specifically, during the course we will alternate:

  • Theory sessions: master classes where the goal is to introduce the basic concepts that allow students to get an overview and a good base from which to develop the contents and skills of the subject. The interactivity and active participation of the students will be promoted.
  • Problem sessions: sessions in which problems or exercises are proposed, mainly as practical activities and follow-ups tests. These exercises have to serve the student to achieve and practice the concepts and competencies related to the subject. The problems are realized in the general case individually.
  • Labs / seminars: there will be a wider problem than the ones treated in problem sessions such as a project or laboratory practice. This will be done and evaluated in groups. The number of labs to perform will depend on its difficulty and length and may change in each course.

The Moodle classroom of the UAB Virtual Campus will be used throughout the course as the main means of communication between teachers and students. That includes the publication of materials, publication of partial notes, forum of discussion, delivery of works, ...


Title Hours ECTS Learning Outcomes
Type: Directed      
Problems sessions 15 0.6 1, 3, 2, 4
Seminars / labs 15 0.6 1, 3, 2, 4
Theory lectures 30 1.2 1, 3, 2
Type: Supervised      
Session preparation 15 0.6 1, 3, 2, 4
Tutoring 15 0.6 1, 3, 2, 4
Type: Autonomous      
Personal work 30 1.2 1, 3, 2, 4
Study / preparation of examination 22.5 0.9 1, 3, 2


The evaluation of the subject consists of the following parts:

  • Partial test: partial examination that will consist of theoretical questions and/or practical exercises. Minimum grade for each separate part is 4.5.
  • Exercises and problems: problem solving and exercises during the sessions of problems. They can be practical or theoretical activities. It does not require a minimum grade.
  • Labs / seminars: group resolution of a practical case or practice during the course. Minimum mark for each practice separately: 4.5

To be able to pass the subject, the evaluation of each one of the parts must exceed the minimum required in each case and that the total evaluation has to exceed 5 points over 10.

If you do not pass the subject due to the fact that some of the evaluation activities do not reach the minimum grade required, the numerical final mark will be the lowest value between 4.5 and the weighted average of the marks.

The "non-assessed" qualification will be awarded to students who do not participate in any of the assessment activities.

The qualification of "with honors" will be awarded to students with a mark equal to or greater than 9 by order of the best final grade.

Recovery of marks from the continuous assessment:

A final test will be carried out that will allow the recovery of partial tests separately. There will also be also a final opportunity to recover the laboratory practices (which will carry a penalty on the mark). The part of problems and / or activities that do not require a minimum mark can not be recovered.

Keeping partial marks for repeating students:

Repeating students will not keep the partial marks from previous years in the current course. However this fact can be reconsideredat the beginning of the course depending on the availability of resources and specific content of the
assessed parts.

Dates for assessment activities:

The dates for test, assessments, work and practices deliveries will be published on the virtual campus and may be subject to change. All this changes will be always informed in the virtual campus, which is understood as the usual mechanism for exchanging information between teachers and students.

Likewise, the assessment mechanism, text, methodology or general operation of the course, that have not been specified in this guide will be detailed in advance.

For each assessment activity, a place, date and time of revision will be indicated in which the student will be able to review the activity with the teacher. In this context, claims can be made about the activity mark, which will be evaluated by the responsible teacher for the subject. If the student does not submit to this review, this activity will not be reviewed later.

Ethical Commitment:

Notwithstanding other disciplinary measures deemed appropriate, and in accordance with the academic regulations in force, the irregularities committed by a student who can lead to a variation of the qualification will be qualified with zero (0). The assessment activities qualified in this way and by this procedure will not be recoverable. If you need to pass any of these assessment activities to pass the subject, this subject will be failed directly, without opportunity to recover it in the same course These irregularities include, among others:

  • the total or partial copy of a practice, report, or any other evaluation activity;
  • to let copy;
  • present a group work not done entirely by the members of the group;
  • present as own materials prepared by a third party, even if they are translations or adaptations, and generally works withnon-original and exclusive elements of the student;
  • to have communication devices (such as mobile phones, smartphones, smartwatches, etc.) accessible during theoretical-practical assessment tests.

In these cases the final mark of the subject will be the lowest value between 3.0 and the weighted average of the marks (and therefore it will not be possible to pass the course by compensation).

Assessment Activities

Title Weighting Hours ECTS Learning Outcomes
Labs / seminars 35 3 0.12 1, 3, 2, 4
Partial examination 45 3 0.12 1, 3, 2
Problems and exercisses 20 1.5 0.06 1, 3, 2, 4



  • Paar, C., Pelzl, J., Understanding Cryptography: A Textbook for Students and Practitioners. Berlin, Heidelberg: Springer Berlin Heidelberg, 2010. https://doi.org/10.1007/978-3-642-04101-3.
  • Smart, N. P., Cryptography Made Simple. Springer International Publishing, 2016. https://doi.org/10.1007/978-3-319-21936-3.