6#ifndef CRYPTOPP_ADLER32_H
7#define CRYPTOPP_ADLER32_H
17 CRYPTOPP_CONSTANT(DIGESTSIZE = 4);
19 void Update(
const byte *input,
size_t length);
20 void TruncatedFinal(
byte *hash,
size_t size);
22 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "Adler32";}
26 void Reset() {m_s1 = 1; m_s2 = 0;}
ADLER-32 checksum calculations.
unsigned int DigestSize() const
Provides the digest size of the hash.
std::string AlgorithmName() const
Provides the name of this algorithm.
unsigned short word16
16-bit unsigned datatype
Abstract base classes that provide a uniform interface to this library.
Crypto++ library namespace.