EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Go to the source code of this file.
Classes | |
class | PHmd5Value |
Macros | |
#define | PHMD5DIGESTLENGTH 16 |
#define | WINDOWSEXPORT |
#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) to actually compute the MD5 sums. This package compiles happily on all platforms, including Sun/Solaris w/ native compiler. @ala ddin. com
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