L'exercice suivant est automatiquement et aléatoirement généré par ataraXy.
Si vous regénérez la page (F5) les valeurs seront changées.
La correction se trouve en bas de page.
Exercice
- Calculer l'inverse modulaire de \( 11\) modulo \( 26\) .
- Calculer le déterminant de la matrice \( A = \begin{pmatrix}7 & 20 \\ 15 & 11\end{pmatrix}\) .
- Expliquer pourquoi la matrice \( A \) est inversible modulo \( 26\) .
- Déterminer l'inverse de la matrice \( A \) .
- Déchiffrer le message suivant, crypté par la méthode de Hill par paquet de 1 de clef \( A \) : \[QISVEKWK\]
Cliquer ici pour afficher la solution
Exercice
- \[\begin{array}{|c|c|c|c||c|c|}\hline
a&b&r&q&u&v \\ \hline
26 & 11 & 4 & 2&3 & -7 \\ \hline
11 & 4 & 3 & 2&-1 & 3 \\ \hline
4 & 3 & 1 & 1&1 & -1 \\ \hline
3 & 1 & 0 & 3&0 & 1 \\ \hline
\end{array}\]
L'algorithme d'Euclide étendu, montre que l'inverse modulaire de \( 11\) est \( 19\) .
- D'après le cours \( det(A)= -223\equiv_{26}11\) .
- La matrice \( A \) est inversible car le déterminant est inversible modulo \( 26\) .
- D'après le cours :
\[ \begin{pmatrix}7 & 20 \\ 15 & 11\end{pmatrix}^{-1} \equiv_{26} 19\begin{pmatrix}11 & -20 \\ -15 & 7\end{pmatrix}
\equiv_{26}\begin{pmatrix}209 & -380 \\ -285 & 133\end{pmatrix}
\equiv_{26}\begin{pmatrix}1 & -16 \\ -25 & 3\end{pmatrix}
\]
- \[\begin{array}{r|*{8}{|c}} Cryptogramme & Q & I & S & V & E & K & W & K\\\hline Codex & 16 & 8 & 18 & 21 & 4 & 10 & 22 & 10\\\hline Vecteurs & &{ \begin{pmatrix}16 \\ 8\end{pmatrix} } & &{ \begin{pmatrix}18 \\ 21\end{pmatrix} } & &{ \begin{pmatrix}4 \\ 10\end{pmatrix} } & &{ \begin{pmatrix}22 \\ 10\end{pmatrix} }\\\hline\begin{pmatrix}1 & -16 \\ -25 & 3\end{pmatrix} & &{ \begin{pmatrix}-112 \\ -376\end{pmatrix} } & &{ \begin{pmatrix}-318 \\ -387\end{pmatrix} } & &{ \begin{pmatrix}-156 \\ -70\end{pmatrix} } & &{ \begin{pmatrix}-138 \\ -520\end{pmatrix} }\\\hline\equiv_{26} & &{ \begin{pmatrix}18 \\ 14\end{pmatrix} } & &{ \begin{pmatrix}20 \\ 3\end{pmatrix} } & &{ \begin{pmatrix}0 \\ 8\end{pmatrix} } & &{ \begin{pmatrix}18 \\ 0\end{pmatrix} }\\\hline & 18 & 14 & 20 & 3 & 0 & 8 & 18 & 0\\\hline Message & S & O & U & D & A & I & S & A\end{array}\]Le message claire est \( SOUDAISA \) .