Finish schema for RSA
This commit is contained in:
parent
6c9e9e13fa
commit
35ae939d9a
1 changed files with 16 additions and 20 deletions
|
@ -640,17 +640,10 @@
|
|||
|
||||
\subsection{Déchiffrement (clé privée)~: $(n,d)$}
|
||||
|
||||
émetteur espace public destinataire
|
||||
partie privée ----> clé publique $(n,e)$ partie privée
|
||||
formule de chiffrement message en clair $m$, $c=m^e [n]$
|
||||
on doit déchiffrer c |
|
||||
information privée <--------------------------------
|
||||
clé privée (n,d)
|
||||
|
||||
\begin{center}
|
||||
\begin{tikzpicture} % TODO finish
|
||||
\begin{tikzpicture}
|
||||
\node [rectangle,draw,thick]
|
||||
(src) at (0,0)
|
||||
(src) at (-5,0)
|
||||
{\parbox{4cm}{\centering
|
||||
émetteur \\
|
||||
partie privée \\
|
||||
|
@ -659,24 +652,27 @@
|
|||
}}
|
||||
;
|
||||
|
||||
\node (key) at (5,0) {\parbox{2.5cm}{\centering fonction de \\ chiffrement}};
|
||||
\node [rectangle,draw,thick]
|
||||
(dst) at (12,0)
|
||||
(public) at (0,0)
|
||||
{\parbox{4cm}{\centering
|
||||
espace publique \\
|
||||
clé publique $(n,e)$ \\
|
||||
formule de chiffrement
|
||||
}}
|
||||
;
|
||||
\node [rectangle,draw,thick]
|
||||
(dst) at (5,0)
|
||||
{\parbox{4cm}{\centering
|
||||
destinataire \\
|
||||
partie privée \\
|
||||
message en clair $m$ \\
|
||||
$c = m^e [n]$
|
||||
}};
|
||||
|
||||
\draw [-latex]
|
||||
(src) -- (key)
|
||||
node[above,midway]{\parbox{2cm}{\centering$m$ \\ message \\ en clair}}
|
||||
;
|
||||
\draw [-latex]
|
||||
(dst) -- (src)
|
||||
node[above,midway]{\parbox{2cm}{\centering$m$ \\ message \\ en clair}}
|
||||
}}
|
||||
;
|
||||
\draw [-latex] (src) -- (public);
|
||||
\draw (dst.south) -- (5,-2);
|
||||
\draw (5,-2) -- (-5,-2) node[above,midway]{$c$};
|
||||
\draw [-latex] (-5,-2) -- (src);
|
||||
\end{tikzpicture}
|
||||
\end{center}
|
||||
|
||||
|
|
Loading…
Reference in a new issue