Ensimag Rubrique Formation 2022

Codes: Cryptography, Compression, Error Correction - 4MMCRY6

  • Number of hours

    • Lectures 15.0
    • Projects -
    • Tutorials 15.0
    • Internship -
    • Laboratory works 3.0
    • Written tests -


    ECTS 3.0


The goal is to acquire the foundations of code theory (computer science and mathematics) that provide provable guarantees on confidentiality, inetgrity and authentication for digital communications. This course presents the theory of codes, its mathematical foundation and its applications in cryptography,
compression and error-correction. It gives the bases required to implement and use coding protocols.


Clement PERNET, Jean-Guillaume DUMAS


1. Binary information coding. Entropy.
2. The group Zn*; Euler function and Chinese remainder theorem. Polynomials and finite fields.
3. Symmetric cipher – Vernam cipher on a group. AES, crypt
4. Asymmetric cryptography. Diffie-Hellman. RSA: security and attacks.
5. Chaining modes. CSPRNG. Hash functions. Digital signature. DSA
6. Lossless data compression. Huffman tree; Lempel-Ziv. Zlib /zip
7. Codes and Hamming distance. Codes for error detection: CRC
8. Linear codes and Reed-Solomon codes. Unique and list decoding.
9. Cyclic codes and shortened variants.


Applied Probability 1 and 2 (1st year). Algorithms and cost analysis (Algorithms 2 and 3). Basic knowledge in linear
algebra (linear system solving by Gaussian elimination) and in integer and polynomial arithmetic (primality and gcd).


Written exam
Duration : 3h
Authorized documents: all handwritten or photocopy documents
Prohibited documents: books
Electronic computers (including mobile phones, ...) are prohibited.

1 examen écrit de 2 heures (documents autorisés) (E).


The course exists in the following branches:

see the course schedule for 2023-2024

Additional Information

Course ID : 4MMCRY6
Course language(s): FR

The course is attached to the following structures:

You can find this course among all other courses.


A Graduate Course in Applied Cryptography, Dan Boneh & Victor Shoup. 2023. https://toc.cryptobook.us/
JG Dumas, JL Roch, E Tannier, S Varrette, Théorie des Codes, Dunod Sc.iences Sup., 3ème édition, 2018.
Calcul mathématique avec Sage. A. Casamayou, G. Connan, T. Dumont, L. Fousse, F. Maltey, M. Meulien, M. Mezzarobba, C. Pernet, N. Thiéry, P. Zimmermann. 2018. http://sagebook.gforge.inria.fr/