From 21559e9f4bd58b1504cc0fda7b0dceee0c833862 Mon Sep 17 00:00:00 2001 From: zyp Date: Thu, 26 Jan 2006 19:07:15 +0000 Subject: [project @ zyp-20060126190715-557e941315671b81] [project @ 18] Moved disccat and pyanidb to the right location. Added pyqtmpc and ophidia. --- hash/ed2k.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hash/ed2k.h (limited to 'hash/ed2k.h') diff --git a/hash/ed2k.h b/hash/ed2k.h new file mode 100644 index 0000000..1be7302 --- /dev/null +++ b/hash/ed2k.h @@ -0,0 +1,17 @@ +#ifndef _ED2K_H_ +#define _ED2K_H_ + +#include + +class Ed2k { + private: + MD4_CTX md4_partial; + MD4_CTX md4_final; + unsigned int size_total; + public: + Ed2k(); + void update(const char* data, int length); + char* digest(); +}; + +#endif // _ED2K_H_ -- cgit v1.2.3