13NAMESPACE_BEGIN(CryptoPP)
23 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "MD2";}
26 void Update(
const byte *input,
size_t length);
32 CRYPTOPP_CONSTANT(DIGESTSIZE = 16);
33 CRYPTOPP_CONSTANT(BLOCKSIZE = 16);
38 SecByteBlock m_X, m_C, m_buf;
43#if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1
44namespace Weak {
using namespace Weak1;}
48#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."
50#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
Provides the block size of the compression function.
unsigned int DigestSize() const
std::string AlgorithmName() const
Provides the name of this algorithm.
void Update(const byte *input, size_t length)
Updates a hash with additional input.
void TruncatedFinal(byte *hash, size_t size)
Computes the hash of the current message.
Abstract base classes that provide a uniform interface to this library.
Classes and functions for secure memory allocations.