sha1.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_SHA1_H
#define RUDIMENTS_SHA1_H
#include <rudiments/private/sha1includes.h>
class RUDIMENTS_DLLSPEC sha1 : public hash {
public:
sha1();
virtual ~sha1();
bool append(const unsigned char *data, uint32_t size);
const unsigned char *getHash();
uint64_t getHashSize();
bool clear();
hasherror_t getError();
#include <rudiments/private/sha1.h>
};
#endif
hash
Definition: hash.h:19
sha1
Definition: sha1.h:10
sha1::append
bool append(const unsigned char *data, uint32_t size)
sha1::getError
hasherror_t getError()
sha1::clear
bool clear()
sha1::~sha1
virtual ~sha1()
sha1::sha1
sha1()
sha1::getHash
const unsigned char * getHash()
sha1::getHashSize
uint64_t getHashSize()