
Cryptography and Security
Code: 104355 ECTS Credits: 6| Degree | Type | Year |
|---|---|---|
| Data Engineering | OB | 3 |
Contact
- Name:
- Cristina Perez Sola
- Email:
- cristina.perez@uab.cat
Teachers
- Cristina Perez Sola
- Jordi Herrera Joancomarti
- Cristina Fernandez Cordoba
Teaching groups languages
You can view this information at the end of this document.
Prerequisites
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.
Competences
- 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
- Apply mechanisms to ensure the safe transmission of information.
- Choose the most suitable cryptographic mechanisms for protecting different types of information.
- Develop critical thinking and reasoning and know how to communicate it effectively in both your own language and in English.
- 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.
Content
- Introduction to cryptography
- Mathematical foundations of cryptography
- Symmetric key cryptography
- Hash functions
- Public key cryptography
- Public key infrastructures
- Protocols for secure data transmission
Activities and Methodology
| 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 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, ...
Annotation: Within the schedule set by the centre or degree programme, 15 minutes of one class will be reserved for students to evaluate their lecturers and their courses or modules through questionnaires.
Assessment
Continous Assessment Activities
| Title | Weighting | Hours | ECTS | Learning Outcomes |
|---|---|---|---|---|
| Labs / seminars | 40 | 3 | 0.12 | 1, 3, 2, 4 |
| Partial examination | 45 | 3 | 0.12 | 1, 3, 2 |
| Problems and exercisses | 15 | 1.5 | 0.06 | 1, 3, 2, 4 |
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 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 pass each practical assignment, students must pass a corresponding validation exam (i.e., achieve a minimum grade of 5 out of 10). These validation exams are held alongside the subject’s partial exams. While the practical assignments are completed in groups, the validation exams are individual assessments.
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.
The case of some small variation in the weighting of each part of the subject can occur. If this were the case, it would be communicated at the beginning of the course.
Recovery of marks from the continuous assessment:
A final test will be carried out that will allow the recovery of partial tests separately.
Students will also have the opportunity to make a final submission to recover failed practical assignments. In such cases, the maximum grade that can be awarded for the recovered assignment is 5 out of 10. The corresponding validation exam will be taken together with the final exam for recovering the subject.
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 inforce, 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).
Use of Artificial Intelligence (AI) Technologies
This course enforces a policy that restricts the use of Artificial Intelligence (AI) technologies. AI tools are permitted only for support tasks such as literature searches, information gathering, text correction, translation, or consulting documentation on functions and software libraries. The use of AI to generate complete solutions, write entire functions, or produce substantial portions of code is strictly prohibited. Students must clearly indicate any content generated with the help of AI and specify the tools or components used. Failure to transparently declare the use of AI in assessed work will be considered a breach of academic integrity and may result in partial or total loss of marks for the activity, or more serious disciplinary actions in severe cases.
Single assessment:
The subject does not offer the possibility of a single assessment.
Bibliography
- Herrera Joancomartí, Jordi; Pérez Solà, Cristina. La criptografia que et cal saber. (2023) Disponible on-line: https://criptografia.cat/
- 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. Biblioteca UAB: https://bibcercador.uab.cat/permalink/34CSUC_UAB/1eqfv2p/alma991010489805006709
- Smart, N. P., Cryptography Made Simple. Springer International Publishing, 2016. https://doi.org/10.1007/978-3-319-21936-3. Biblioteca UAB: https://bibcercador.uab.cat/permalink/34CSUC_UAB/1eqfv2p/alma991006792939706709
Software
Various software will be used during the course depending on the specific activity being carried out. We will use Python as the main programming language for solving exercises and labs, and the use of Linux system tools such as OpenSSL for some specific activity.
Groups and Languages
Please note that this information is provisional until 30 November 2025. You can check it through this link. To consult the language you will need to enter the CODE of the subject.
| Name | Group | Language | Semester | Turn |
|---|---|---|---|---|
| (PAUL) Classroom practices | 81 | Catalan | second semester | afternoon |
| (PAUL) Classroom practices | 82 | Catalan | second semester | afternoon |