Rudiments
include
rudiments
sha1.h
1
// Copyright (c) 1999-2018 David Muse
2
// See the COPYING file for more information.
3
4
#ifndef RUDIMENTS_SHA1_H
5
#define RUDIMENTS_SHA1_H
6
7
#include <rudiments/private/sha1includes.h>
8
10
class
RUDIMENTS_DLLSPEC
sha1
:
public
hash
{
11
public
:
13
sha1
();
14
16
virtual
~sha1
();
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/sha1.h>
40
};
41
42
#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()
Generated on Wed Sep 22 2021 18:18:10 for Rudiments by
1.9.1