1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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_