EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHmd5Value.h File Reference
#include "PHmd5Utils.h"
#include "event_io.h"
+ Include dependency graph for PHmd5Value.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PHmd5Value
 

Macros

#define PHMD5DIGESTLENGTH   16
 
#define WINDOWSEXPORT
 

Macro Definition Documentation

#define PHMD5DIGESTLENGTH   16

This is a simple class maintaining a md5 checksum value for us. It is geared towards the md5 value from files, and accepts filenames, a FILE * in its constructor.

It is made so that it gives the same result as the UNIX md5sum command.

I used and modified the md5_stream routine in the GNU textutils package (which has a larger scope and doesn't compile easily with non-GNU compilers).

I used the "MD5 message digest library" written by L. Peter Deutsch (ghost.nosp@m.@ala.nosp@m.ddin..nosp@m.com) to actually compute the MD5 sums. This package compiles happily on all platforms, including Sun/Solaris w/ native compiler.

Definition at line 24 of file PHmd5Value.h.

View newest version in sPHENIX GitHub at line 24 of file PHmd5Value.h

Referenced by PHmd5Value::getMD5(), operator<<(), PHmd5Value::operator==(), PHmd5Value::PHmd5Value(), and PHmd5Value::setMD5().

#define WINDOWSEXPORT

Definition at line 28 of file PHmd5Value.h.

View newest version in sPHENIX GitHub at line 28 of file PHmd5Value.h