\hypertarget{namespacesha1}{\section{sha1 \-Namespace \-Reference}
\label{namespacesha1}\index{sha1@{sha1}}
}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{namespacesha1_abb69d305f33f32fb4973249c5bf53d4d}{calc} (const void $\ast$src, const \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} bytelength, unsigned char $\ast$hash)
\item 
void \hyperlink{namespacesha1_a202566439d7a3b0898079733b93c72dc}{to\-Hex\-String} (const unsigned char $\ast$hash, char $\ast$hexstring)
\end{DoxyCompactItemize}


\subsection{\-Function \-Documentation}
\hypertarget{namespacesha1_abb69d305f33f32fb4973249c5bf53d4d}{\index{sha1@{sha1}!calc@{calc}}
\index{calc@{calc}!sha1@{sha1}}
\subsubsection[{calc}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf sha1\-::calc} (
\begin{DoxyParamCaption}
\item[{const void $\ast$}]{src, }
\item[{const {\bf int}}]{bytelength, }
\item[{unsigned char $\ast$}]{hash}
\end{DoxyParamCaption}
)}}\label{namespacesha1_abb69d305f33f32fb4973249c5bf53d4d}

\begin{DoxyParams}{\-Parameters}
{\em src} & points to any kind of data to be hashed. \\
\hline
{\em bytelength} & the number of bytes to hash from the src pointer. \\
\hline
{\em hash} & should point to a buffer of at least 20 bytes of size for storing the \hyperlink{namespacesha1}{sha1} result in. \\
\hline
\end{DoxyParams}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{namespacesha1_abb69d305f33f32fb4973249c5bf53d4d_icgraph}
\end{center}
\end{figure}


\hypertarget{namespacesha1_a202566439d7a3b0898079733b93c72dc}{\index{sha1@{sha1}!to\-Hex\-String@{to\-Hex\-String}}
\index{to\-Hex\-String@{to\-Hex\-String}!sha1@{sha1}}
\subsubsection[{to\-Hex\-String}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf sha1\-::to\-Hex\-String} (
\begin{DoxyParamCaption}
\item[{const unsigned char $\ast$}]{hash, }
\item[{char $\ast$}]{hexstring}
\end{DoxyParamCaption}
)}}\label{namespacesha1_a202566439d7a3b0898079733b93c72dc}

\begin{DoxyParams}{\-Parameters}
{\em hash} & is 20 bytes of \hyperlink{namespacesha1}{sha1} hash. \-This is the same data that is the result from the calc function. \\
\hline
{\em hexstring} & should point to a buffer of at least 41 bytes of size for storing the hexadecimal representation of the hash. \-A zero will be written at position 40, so the buffer will be a valid zero ended string. \\
\hline
\end{DoxyParams}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{namespacesha1_a202566439d7a3b0898079733b93c72dc_icgraph}
\end{center}
\end{figure}


