7 NAMESPACE_BEGIN(CryptoPP)
16 void Update(
const byte *input,
size_t length);
17 void TruncatedFinal(byte *hash,
size_t size);
20 static const char * StaticAlgorithmName() {
return "MD2";}
22 CRYPTOPP_CONSTANT(DIGESTSIZE = 16)
23 CRYPTOPP_CONSTANT(BLOCKSIZE = 16)
33 #if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1
34 namespace Weak {
using namespace Weak1;}
36 using namespace Weak1;
38 #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."
40 #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.")
unsigned int BlockSize() const
block size of underlying compression function, or 0 if not block based
unsigned int DigestSize() const
size of the hash/digest/MAC returned by Final()