24 void Update(
const byte *input,
size_t length);
25 void TruncatedFinal(
byte *hash,
size_t size);
28 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "MD2";}
30 CRYPTOPP_CONSTANT(DIGESTSIZE = 16);
31 CRYPTOPP_CONSTANT(BLOCKSIZE = 16);
41 #if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1
42 namespace Weak {
using namespace Weak1;}
44 using namespace Weak1;
46 #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."
48 #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 DigestSize() const
Provides the digest size of the hash.
unsigned int BlockSize() const
Provides the block size of the compression function.
Abstract base classes that provide a uniform interface to this library.
Crypto++ library namespace.
Namespace containing weak and wounded algorithms.
Classes and functions for secure memory allocations.