summaryrefslogtreecommitdiff
path: root/include/HashFunction.h
diff options
context:
space:
mode:
authorpixel <pixel>2007-09-17 16:04:40 +0000
committerpixel <pixel>2007-09-17 16:04:40 +0000
commit36350232b4f4c7ddc7f3b9f65da81692e9f02183 (patch)
tree5617d8eed6aa9262840dc2915b70546bae3253e1 /include/HashFunction.h
parent3fedf9f3fff7c8ceadd077fc7ed4eff4c4108026 (diff)
Adding hashing from Handles.
Diffstat (limited to 'include/HashFunction.h')
-rw-r--r--include/HashFunction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/HashFunction.h b/include/HashFunction.h
index 66c185b..e109778 100644
--- a/include/HashFunction.h
+++ b/include/HashFunction.h
@@ -17,18 +17,20 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: HashFunction.h,v 1.1 2007-09-05 14:11:54 pixel Exp $ */
+/* $Id: HashFunction.h,v 1.2 2007-09-17 16:04:40 pixel Exp $ */
#ifndef __HASHFUNCTION_H__
#define __HASHFUNCTION_H__
#include <Exceptions.h>
+#include <Handle.h>
class HashFunction : public Base {
public:
HashFunction();
void Update(const String &);
void Update(const unsigned char * data, size_t len);
+ void Update(Handle *, ssize_t = -1);
String Finish();
size_t RFinish(Uint8 * digest);
protected: