jigdo API

util/md5sum.hh File Reference

128-bit checksum, secure enough for our purposes More...

#include <config.h>
#include <cstdlib>
#include <iosfwd>
#include <string>
#include <bstream.hh>
#include <debug.hh>
#include <md5sum.fh>
#include <md5sum.ih>

Go to the source code of this file.


Classes

class  MD5
 Container for an already computed MD5Sum. More...
class  MD5Sum
 A 128-bit, cryptographically strong message digest algorithm. More...
struct  MD5Sum::md5_ctx
class  MD5Sum::ProgressReporter
 Class allowing JigdoCache to convey information back to the creator of a JigdoCache object. More...

Defines

#define INLINE   inline

Functions

bool operator== (const MD5 &a, const MD5 &b)
bool operator!= (const MD5 &a, const MD5 &b)
INLINE ostream & operator<< (ostream &s, const MD5 &r)
 Output MD5 as Base64 digest.
bool operator== (const MD5 &a, const MD5Sum &b)
bool operator!= (const MD5 &a, const MD5Sum &b)
INLINE ostream & operator<< (ostream &s, const MD5Sum &r)
 Output MD5Sum as Base64 digest.

Detailed Description

128-bit checksum, secure enough for our purposes


Define Documentation

#define INLINE   inline


Function Documentation

bool operator!= ( const MD5 a,
const MD5Sum b 
) [inline]

bool operator!= ( const MD5 a,
const MD5 b 
) [inline]

INLINE ostream& operator<< ( ostream &  s,
const MD5Sum r 
)

Output MD5Sum as Base64 digest.

INLINE ostream& operator<< ( ostream &  s,
const MD5 r 
)

Output MD5 as Base64 digest.

bool operator== ( const MD5 a,
const MD5Sum b 
) [inline]

bool operator== ( const MD5 a,
const MD5 b 
) [inline]

References MD5::sum.


Generated on Tue Sep 23 14:27:42 2008 for jigdo by  doxygen 1.5.6