Rudiments

sha256.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_SHA256_H
5 #define RUDIMENTS_SHA256_H
6
7 #include <rudiments/private/sha256includes.h>
8
10 class RUDIMENTS_DLLSPEC sha256 : public hash {
11 public:
13 sha256();
14
16 virtual ~sha256();
17
21 bool append(const unsigned char *data, uint32_t size);
22
26 const unsigned char *getHash();
27
29 uint64_t getHashSize();
30
34 bool clear();
35
37 hasherror_t getError();
38
39 #include <rudiments/private/sha256.h>
40 };
41
42 #endif
hash
Definition: hash.h:19
sha256
Definition: sha256.h:10
sha256::getHash
const unsigned char * getHash()
sha256::getHashSize
uint64_t getHashSize()
sha256::~sha256
virtual ~sha256()
sha256::append
bool append(const unsigned char *data, uint32_t size)
sha256::sha256
sha256()
sha256::clear
bool clear()
sha256::getError
hasherror_t getError()