From 36350232b4f4c7ddc7f3b9f65da81692e9f02183 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 17 Sep 2007 16:04:40 +0000 Subject: Adding hashing from Handles. --- include/HashFunction.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/HashFunction.h') 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 +#include 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: -- cgit v1.2.3