23 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "MD2";}
26 void Update(
const byte *input,
size_t length);
27 void TruncatedFinal(
byte *hash,
size_t size);
32 CRYPTOPP_CONSTANT(DIGESTSIZE = 16);
33 CRYPTOPP_CONSTANT(BLOCKSIZE = 16);
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 DigestSize() const
Provides the digest size of the hash.
unsigned int BlockSize() const
Provides the block size of the compression function.
std::string AlgorithmName() const
Provides the name of this algorithm.
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.