Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

abkMD5.h File Reference

#include <vector>
#include "abkcommon.h"

Include dependency graph for abkMD5.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  MD5
class  MD5::Wrap128

Functions

ostream & operator<< (ostream &os, const MD5 &md5)


Function Documentation

ostream& operator<< ostream &  os,
const MD5 md5
 

Definition at line 368 of file md5.cxx.

00369     {
00370     abkfatal(md5._isFinalized,"Can't output state of MD5 before finalization");
00371     int i;
00372     unsigned char digest[16];
00373     char buf[3];
00374     MD5::encode(&digest[0],md5._state,16);
00375     for (i=0;i<16;i++)
00376         {
00377         sprintf(buf,"%02x",digest[i]);
00378         os << buf;
00379         }
00380     return os;
00381     }


Generated on Mon Apr 25 01:09:54 2005 for Parquete by doxygen 1.3.2