6#ifndef CRYPTOPP_ADLER32_H
7#define CRYPTOPP_ADLER32_H
17 CRYPTOPP_CONSTANT(DIGESTSIZE = 4);
19 void Update(
const byte *input,
size_t length);
22 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "Adler32";}
26 void Reset() {m_s1 = 1; m_s2 = 0;}
unsigned int DigestSize() const
Provides the digest size of the hash.
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.
unsigned short word16
16-bit unsigned datatype
Abstract base classes that provide a uniform interface to this library.
Crypto++ library namespace.