Source: https://iecl.univ-lorraine.fr/files/2020/12/2019-2020-—-L1-AES-TD-et-Corrige.pdf