sha256.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_SHA256_H
#define RUDIMENTS_SHA256_H
#include <rudiments/private/sha256includes.h>
class RUDIMENTS_DLLSPEC sha256 : public hash {
public:
sha256();
virtual ~sha256();
bool append(const unsigned char *data, uint32_t size);
const unsigned char *getHash();
uint64_t getHashSize();
bool clear();
hasherror_t getError();
#include <rudiments/private/sha256.h>
};
#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()