1#ifndef CRYPTOPP_MD5_H
2#define CRYPTOPP_MD5_H
3
4#include "iterhash.h"
5
6NAMESPACE_BEGIN(CryptoPP)
7
8namespace Weak1 {
9
10//! <a href="http://www.cryptolounge.org/wiki/MD5">MD5</a>
11class MD5 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, MD5>
12{
13public:
14	static void InitState(HashWordType *state);
15	static void Transform(word32 *digest, const word32 *data);
16	static const char * StaticAlgorithmName() {return "MD5";}
17};
18
19}
20#if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1
21namespace Weak {using namespace Weak1;}		// import Weak1 into CryptoPP::Weak
22#else
23using namespace Weak1;	// import Weak1 into CryptoPP with warning
24#ifdef __GNUC__
25#warning "You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning."
26#else
27#pragma message("You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning.")
28#endif
29#endif
30
31NAMESPACE_END
32
33#endif
34