1 #ifndef CRYPTOPP_ADLER32_H
2 #define CRYPTOPP_ADLER32_H
6 NAMESPACE_BEGIN(CryptoPP)
12 CRYPTOPP_CONSTANT(DIGESTSIZE = 4)
14 void Update(
const byte *input,
size_t length);
15 void TruncatedFinal(byte *hash,
size_t size);
17 static const char * StaticAlgorithmName() {
return "Adler32";}
21 void Reset() {m_s1 = 1; m_s2 = 0;}
std::string AlgorithmName() const
returns name of this algorithm, not universally implemented yet
unsigned int DigestSize() const
size of the hash/digest/MAC returned by Final()
ADLER-32 checksum calculations.