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,
virtual uint64_t getHashSize()=0
virtual bool append(const unsigned char *data, uint32_t size)=0
virtual ~hash()
Definition: hash.h:25
virtual hasherror_t getError()=0
hash()
Definition: hash.h:22
virtual const unsigned char * getHash()=0