diff options
author | zyp <zyp@localhost> | 2006-05-08 15:23:20 +0200 |
---|---|---|
committer | zyp <zyp@localhost> | 2006-05-08 15:23:20 +0200 |
commit | df9c15d40a50ed17baa7bdbb11ef6cca9d410cf3 (patch) | |
tree | 4ceb64d5c29e6bf487f8a6e7dde655a2c0b5f26a /src/ed2k.h | |
parent | 3a5b32f44a95b989e39273527fc924ad3d32465e (diff) |
[project @ zyp-20060508132320-2c118d1a7e2505db]
[project @ 24]
Converted from make to distutils.
Diffstat (limited to 'src/ed2k.h')
-rw-r--r-- | src/ed2k.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ed2k.h b/src/ed2k.h new file mode 100644 index 0000000..1be7302 --- /dev/null +++ b/src/ed2k.h @@ -0,0 +1,17 @@ +#ifndef _ED2K_H_ +#define _ED2K_H_ + +#include <openssl/md4.h> + +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_ |