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,
15 HASH_ERROR_UNSUPPORTED
19 class RUDIMENTS_DLLSPEC
hash {
30 virtual bool append(
const unsigned char *data,
36 virtual const unsigned char *getHash()=0;
39 virtual uint64_t getHashLength()=0;
44 virtual bool clear()=0;
47 virtual hasherror_t getError()=0;
hash()
Definition: hash.h:22
virtual ~hash()
Definition: hash.h:25