Source: https://lacl.u-pec.fr/dima/securite/secu3.pdf