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 
9 class md5private;
10 
12 class RUDIMENTS_DLLSPEC md5 : public hash {
13  public:
15  md5();
16 
18  virtual ~md5();
19 
23  bool append(const unsigned char *data, uint32_t length);
24 
28  const unsigned char *getHash();
29 
31  uint32_t getHashLength();
32 
36  bool clear();
37 
39  hasherror_t getError();
40 
41  #include <rudiments/private/md5.h>
42 };
43 
44 #endif
virtual bool append(const unsigned char *data, uint32_t length)=0
virtual const unsigned char * getHash()=0
Definition: md5.h:12
Definition: hash.h:18
virtual bool clear()=0
virtual uint32_t getHashLength()=0
virtual hasherror_t getError()=0