\subsection*{The RISCAL Formalization}
%{\scriptsize \verbatiminput{../integerroot.txt}}
{\scriptsize \verbatimboxed{../integerroot.txt}}
+
+\subsection{The Baby-Step Giant-Step Algorithm}
+At the Diffie-Hellmann Key-Exchange algorithm, we have encounterd the Discrete
+Logarithm problem. An algorithm to compute the discrete logarithm is the Baby-Step
+Giant-Step algorithm as sketeched before. A possible formalization might be formulated
+as follows:
+{\scriptsize \verbatimboxed{../discrete_log.txt}}
+Some comments on the formalization:
+\begin{itemize}
+ \item The first argument is the characteristic of the finite field, which is a prime.
+ Below 10, the primes are 2,3,5,7. Obviously, for $p=2$ we have no elements of
+ order $p-1$;
+ \item The condition that $g$ has to be of order $p-1$ is a major restriction.
+ The only elements that satisfy this are given by
+\end{itemize}
+\begin{center}
+\begin{tabular}{|c|c|}
+\hline
+$p$ & Elements of order $p-1$\\
+\hline
+3 & 2 \\
+5 & 2,3\\
+7 & 3,5\\
+\hline
+\end{tabular}
+\end{center}
+\begin{itemize}
+ \item The element $a$ has obviously to be non-zero in $\mathbb{Z}_p$.
+\end{itemize}
+Having this thoughts in mind, we expect that the set of possible inputs might
+be shrinked dramatically. Indeed, the tuples with values less than 10, which
+are in our scope might be explictly enumerated by
+\begin{center}
+\begin{tabular}{c}
+$(p,g,a)$\\
+\hline
+$(3,2,1)$, $(3,2,2)$\\
+$(5,2,1)$,$(5,2,2)$,$(5,2,3)$,$(5,2,4)$\\
+$(5,3,1)$, $(5,3,2)$, $(5,3,3)$, $(5,3,4)$\\
+ $(7,3,1)$, $(7,3,2)$, $(7,3,3)$, $(7,3,4)$, $(7,3,5)$, $(7,3,6)$ \\
+$(7,5,1)$, $(7,5,2)$, $(7,5,3)$, $(7,5,4)$, $(7,5,5)$, $(7,5,6)$
+\end{tabular}
+\end{center}
+which gives a total of 22 elements to check.
\appendix
+
+
\begin{thebibliography}{9}
\bibitem{hardylittlewood}
G.H. Hardy and E.M. Wright. \textit{An Introduction to the Theory of Numbers}.