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 \( 913\) modulo \( 2526\) .
- Calculer le déterminant de la matrice \( A = \begin{pmatrix}721 & 1822 \\ 2136 & 1321\end{pmatrix}\) .
- Expliquer pourquoi la matrice \( A \) est inversible modulo \( 2526\) .
- Déterminer l'inverse de la matrice \( A \) .
- Déchiffrer le message suivant, crypté par la méthode de Hill par paquet de 2 de clef \( A \) : \[26-708-1568-240\]
Cliquer ici pour afficher la solution
Exercice
- \[\begin{array}{|c|c|c|c||c|c|}\hline
a&b&r&q&u&v \\ \hline
2526 & 913 & 700 & 2&30 & -83 \\ \hline
913 & 700 & 213 & 1&-23 & 30 \\ \hline
700 & 213 & 61 & 3&7 & -23 \\ \hline
213 & 61 & 30 & 3&-2 & 7 \\ \hline
61 & 30 & 1 & 2&1 & -2 \\ \hline
30 & 1 & 0 & 30&0 & 1 \\ \hline
\end{array}\]
L'algorithme d'Euclide étendu, montre que l'inverse modulaire de \( 913\) est \( 2443\) .
- D'après le cours \( det(A)= -2939351\equiv_{2526}913\) .
- La matrice \( A \) est inversible car le déterminant est inversible modulo \( 2526\) .
- D'après le cours :
\[ \begin{pmatrix}721 & 1822 \\ 2136 & 1321\end{pmatrix}^{-1} \equiv_{2526} 2443\begin{pmatrix}1321 & -1822 \\ -2136 & 721\end{pmatrix}
\equiv_{2526}\begin{pmatrix}3227203 & -4451146 \\ -5218248 & 1761403\end{pmatrix}
\equiv_{2526}\begin{pmatrix}1501 & -334 \\ -2058 & 781\end{pmatrix}
\]
- \[\begin{array}{r|*{4}{|c}} Cryptogramme & 26 & 708 & 1568 & 240\\\hline Vecteurs & &{ \begin{pmatrix}26 \\ 708\end{pmatrix} } & &{ \begin{pmatrix}1568 \\ 240\end{pmatrix} }\\\hline\begin{pmatrix}1501 & -334 \\ -2058 & 781\end{pmatrix} & &{ \begin{pmatrix}-197446 \\ 499440\end{pmatrix} } & &{ \begin{pmatrix}2273408 \\ -3039504\end{pmatrix} }\\\hline\equiv_{2526} & &{ \begin{pmatrix}2108 \\ 1818\end{pmatrix} } & &{ \begin{pmatrix}8 \\ 1800\end{pmatrix} }\\\hline & 2108 & 1818 & 8 & 1800\\\hline Message & VI & SS & AI & SA\end{array}\]Le message claire est \( VISSAISA \) .