From e7372290e93e2fa26237e2ecbe257c8ccc4dce30 Mon Sep 17 00:00:00 2001 From: zyp Date: Fri, 27 Oct 2006 11:30:01 +0000 Subject: [project @ zyp-20061027113001-b3ca581e0efa4fa6] [project @ 65] This should not be here. --- hash/hash.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 hash/hash.h (limited to 'hash/hash.h') diff --git a/hash/hash.h b/hash/hash.h deleted file mode 100644 index 3c7b9c9..0000000 --- a/hash/hash.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef _HASH_H_ -#define _HASH_H_ - -#include - -#include "ed2k.h" - -#include -#include -#include - -class Hash { - private: - bool finished; - - int crc32_ctx; - std::string crc32_str; - - Ed2k ed2k_ctx; - std::string ed2k_str; - - MD5_CTX md5_ctx; - std::string md5_str; - - SHA_CTX sha1_ctx; - std::string sha1_str; - - public: - Hash(); - void update(std::string data); - std::string crc32(); - std::string ed2k(); - std::string md5(); - std::string sha1(); -}; - -#endif // _HASH_H_ -- cgit v1.2.3