4 #ifndef RUDIMENTS_HASH_H 5 #define RUDIMENTS_HASH_H 7 #include <rudiments/private/hashincludes.h> 13 HASH_ERROR_INPUT_TOO_LONG,
14 HASH_ERROR_STATE_ERROR
18 class RUDIMENTS_DLLSPEC
hash {
29 virtual bool append(
const unsigned char *data,
35 virtual const unsigned char *getHash()=0;
38 virtual uint32_t getHashLength()=0;
43 virtual bool clear()=0;
46 virtual hasherror_t getError()=0;
hash()
Definition: hash.h:21
virtual ~hash()
Definition: hash.h:24