GDCM  2.4.5
gdcmMD5.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef GDCMMD5_H
15 #define GDCMMD5_H
16 
17 #include "gdcmTypes.h"
18 
19 namespace gdcm
20 {
21 //-----------------------------------------------------------------------------
22 class MD5Internals;
34 {
35 public :
36  MD5();
37  ~MD5();
38 
39  static bool Compute(const char *buffer, unsigned long buf_len, char digest_str[33]);
40 
41  static bool ComputeFile(const char *filename, char digest_str[33]);
42 
43 private:
44  MD5Internals *Internals;
45 private:
46  MD5(const MD5&); // Not implemented.
47  void operator=(const MD5&); // Not implemented.
48 };
49 } // end namespace gdcm
50 //-----------------------------------------------------------------------------
51 #endif //GDCMMD5_H
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Class for MD5.
Definition: gdcmMD5.h:33
Definition: gdcmASN1.h:20

Generated on Fri Sep 25 2015 17:58:23 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo