Source: http://www.unilim.fr/pages_perso/francois.pigalle/Croissance/travaux%20dirig%C3%A9s/correction%20TD2%20macro%20AES.pdf