Fabcoin Core  0.16.2
P2P Digital Currency
md5.h
Go to the documentation of this file.
1 #ifndef CRYPTOPP_MD5_H
2 #define CRYPTOPP_MD5_H
3 
4 #include "iterhash.h"
5 
7 
8 namespace Weak1 {
9 
14 class MD5 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, MD5>
15 {
16 public:
17  static void InitState(HashWordType *state);
18  static void Transform(word32 *digest, const word32 *data);
19  CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "MD5";}
20 };
21 
22 }
23 #if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1
24 namespace Weak {using namespace Weak1;} // import Weak1 into CryptoPP::Weak
25 #else
26 using namespace Weak1; // import Weak1 into CryptoPP with warning
27 #ifdef __GNUC__
28 #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."
29 #else
30 #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.")
31 #endif
32 #endif
33 
35 
36 #endif
CRYPTOPP_STATIC_CONSTEXPR const char * StaticAlgorithmName()
Definition: md5.h:19
#define CRYPTOPP_STATIC_CONSTEXPR
Definition: config.h:892
Iterated hash with a static transformation function.
Definition: iterhash.h:150
#define NAMESPACE_BEGIN(x)
Definition: config.h:200
MD5 message digest.
Definition: md5.h:14
#define NAMESPACE_END
Definition: config.h:201
unsigned int word32
Definition: config.h:231
uint8_t const * data
Definition: sha3.h:19
Definition: arc4.cpp:14
Definition: panama.cpp:423