Rudiments
md5.h
1 // Copyright (c) 2016 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_MD5_H
5 #define RUDIMENTS_MD5_H
6 
7 #include <rudiments/private/md5includes.h>
8 
10 class RUDIMENTS_DLLSPEC md5 : public hash {
11  public:
13  md5();
14 
16  virtual ~md5();
17 
21  bool append(const unsigned char *data, uint32_t length);
22 
26  const unsigned char *getHash();
27 
29  uint32_t getHashLength();
30 
34  bool clear();
35 
37  hasherror_t getError();
38 
39  #include <rudiments/private/md5.h>
40 };
41 
42 #endif
virtual bool append(const unsigned char *data, uint32_t length)=0
virtual const unsigned char * getHash()=0
Definition: md5.h:10
Definition: hash.h:18
virtual bool clear()=0
virtual uint32_t getHashLength()=0
virtual hasherror_t getError()=0