Source: http://mathematiques.ac-bordeaux.fr/lycee2010/voie_generale/Stage_spe_TS/annexe04_chiffrement_affine.pdf