#ifndef _CRC32_H_ #define _CRC32_H_ #include "hash.h" namespace Multihash { class CRC32 : public Hash { private: int crc_ctx; protected: virtual void hash_update(const char* data, int length); virtual std::string hash_digest(); public: CRC32(Hash* n = 0); }; } #endif // _CRC32_H_