Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:55:04

0001 #ifndef CRYPTOPP_MD5_H
0002 #define CRYPTOPP_MD5_H
0003 
0004 #include "iterhash.h"
0005 
0006 NAMESPACE_BEGIN(CryptoPP)
0007 
0008 namespace Weak1 {
0009 
0010 /// \brief MD5 message digest

0011 /// \sa <a href="http://www.cryptolounge.org/wiki/MD5">MD5</a>

0012 /// \since Crypto++ 1.0

0013 class MD5 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, MD5>
0014 {
0015 public:
0016     static void InitState(HashWordType *state);
0017     static void Transform(word32 *digest, const word32 *data);
0018     CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "MD5";}
0019 };
0020 
0021 }
0022 #if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1
0023 namespace Weak {using namespace Weak1;}     // import Weak1 into CryptoPP::Weak

0024 #else
0025 using namespace Weak1;  // import Weak1 into CryptoPP with warning

0026 #ifdef __GNUC__
0027 #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."
0028 #else
0029 #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.")
0030 #endif
0031 #endif
0032 
0033 NAMESPACE_END
0034 
0035 #endif