Skip to main content

Cryptography: case study (MDA II level)

Teacher: Elia Onofri

Hours
10
CFU
2

Syllabus

Course Overview: Cryptography: case study
This course complements the theoretical content of Cryptography 1 with hands-on implementation of cryptographic algorithms (in Python). Students will explore how cryptographic primitives are constructed, tested, and applied in real-world scenarios. The course also introduces advanced topics and contemporary developments in applied cryptography.

Topics Covered:
– Implementation of classical ciphers (OTP, Caesar, Vernam)
– Modular arithmetic and number theory foundations
– Practical implementations of RSA and Diffie–Hellman key exchange
– Use of Python cryptographic libraries (e.g., pycryptodome)
– Hash functions and digital signatures in code (SHA-3, Lamport scheme)
– Commitment schemes in practice (e.g., flip-by-phone)
– Randomness sources and LFSR as pseudo-random generators
– Public key infrastructure (PKI) and advanced encryption paradigms
– Identity-based and attribute-based encryption (if time permits)
– Functional encryption, oblivious transfer, and differential privacy (if time permits)

Learning Objectives:
– Apply foundational number theory in implementing cryptographic schemes
– Develop and test toy cryptographic primitives using Python
– Evaluate the strengths and weaknesses of different cryptographic implementations
– Use software libraries to implement standard algorithms for encryption, hashing, and signatures
– Explore state-of-the-art topics such as functional and privacy-preserving cryptography