<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GNU CommonC++: digest.cpp</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> </div> <div class="contents"> <h1>digest.cpp</h1><div class="fragment"><pre class="fragment"><span class="preprocessor">#include <<a class="code" href="misc_8h.html" title="Memory management, configuration keydata objects and string tokenizer.">cc++/misc.h</a>></span> <span class="preprocessor">#include <<a class="code" href="digest_8h.html" title="Digest algorithms: checksum, CRC and MD5.">cc++/digest.h</a>></span> <span class="preprocessor">#include <iostream></span> <span class="preprocessor">#include <cstdio></span> <span class="preprocessor">#ifdef CCXX_NAMESPACES</span> <span class="preprocessor"></span><span class="keyword">using namespace </span>std; <span class="keyword">using namespace </span>ost; <span class="preprocessor">#endif</span> <span class="preprocessor"></span> <span class="keywordtype">int</span> main() { <a name="_a0"></a><a class="code" href="classost_1_1_m_d5_digest.html" title="A md5 collection/computation accululator class.">ost::MD5Digest</a> digest; digest << <span class="stringliteral">"pippo"</span>; std::cout << digest << std::endl;; <span class="keywordflow">return</span> 0; } </pre></div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Mar 12 10:07:38 2010 for GNU CommonC++ by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>