Introduction to C and GCC. How to compile and run a program from a Linux console. Passing paramaters to a program: argc and argv. Programs: Hello and ASCII table in C.
Bit operators in C. Programs: Printing a word in hexadecimal and binary format, rotate a word, compute the Hamming weight. Creation and usage of a library in C.
Using files in C. Programs : Hexadecimal visualizer of a file; Caesar cipher of an ASCII file; Checking the integrity of a file by XOR and fread.
Struct and dinamic structures. Programs: list and binary trees in C; a word counter in C.
Stream Cipher and permutations in C: ARC4. Programs: Setup of ARC4, Pseudorandom generator by ARC4, (de)cipher by ARC4.
Stream Cipher and finite fields: A5/1 and LFSR. Programs: Printing all the non-zero elements of the 3 registers of A5/1 (LFSR) ; Implementing the majority function and printing the states; (De)cipher with A5/1.
Block cipher: AES128. Programs : Key schedule, Step by step ciphering by SBox, ShiftRows and MixColumns, AES with ECB mode, AES with CBC mode. The CTR mode.
Pseudo random number generators (PRNG) and first steps with Gnu Multi Precision arithmetic library (GMP). Programs : Default PRNG by ANSI C, Linear PRNG and its period, AES as PRNG, Blum Blum Shub PRNG using GMP.
RSA algorithm with GMP. Programs: Private and public key generator, cipher a short message from the console to a file using the public key, decipher the message from the file to the console using CRT and the private key.