1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>NETMD5GetDigest</title>
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9</head>
10
11<body>
12
13<h1 align="left">NETMD5GetDigest</h1>
14<h2>C Specification</h2>
15
16<dl>
17  <dd>
18<PRE><CODE>#include &lt;revolution/net.h&gt;
19
20void NETMD5GetDigest(NETMD5Context* context, void* digest);
21</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24
25<table border="1" width="100%">
26    <TR>
27<TD width="176"><em><strong><font face="Courier New">context</font></strong></em></TD>
28<TD width="670">Pointer to the context structure used for MD5 generation.</TD>
29    </TR>
30    <TR>
31<TD width="176"><em><strong><font face="Courier New">digest</font></strong></em></TD>
32<TD width="670">Pointer to the memory location that holds the message digest value.</TD>
33    </TR>
34  </table>
35<h2>Return Values</h2>
36<p>None.</p>
37<H2>Description</H2>
38<P>This function gets the digest value using MD5. You must use the <CODE><A href="NETMD5Init.html">NETMD5Init</A></CODE> function to initialize the &quot;context&quot; argument in advance, and then use the <CODE><A href="NETMD5Update.html">NETMD5Update</A></CODE> function to provide input data.<br>This function rewrites context internally, so you cannot continue to use the same context with the <CODE><A href="NETMD5Update.html">NETMD5Update</A></CODE> function. <BR>
39</p>
40<p>
41Be sure to pass enough memory region in the digest argument to store the hash length to be generated.<br>For details, see the MD5 section of the <a href="hash_overview.html">hash algorithm</a>.
42</p>
43<h2>See Also</h2>
44<P><CODE><A href="NETMD5Init.html">NETMD5Init</A></CODE>, <CODE><A href="NETMD5Update.html">NETMD5Update</A></CODE></P>
45<H2>Revision History</H2>
46<P>
472006/09/01 Initial version.<BR>
48</P>
49<hr><p>CONFIDENTIAL</p></body>
50</html>
51