summaryrefslogtreecommitdiff
path: root/hash/hash.h
diff options
context:
space:
mode:
authorzyp <zyp@localhost>2006-10-27 13:30:01 +0200
committerzyp <zyp@localhost>2006-10-27 13:30:01 +0200
commite7372290e93e2fa26237e2ecbe257c8ccc4dce30 (patch)
tree5e5e1bff5b9f3191e0dea2d7bdc9a55a82345542 /hash/hash.h
parent802668818e930d91c37f8107e4c8822bd3ebdfac (diff)
[project @ zyp-20061027113001-b3ca581e0efa4fa6]
[project @ 65] This should not be here.
Diffstat (limited to 'hash/hash.h')
-rw-r--r--hash/hash.h37
1 files changed, 0 insertions, 37 deletions
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 <string>
-
-#include "ed2k.h"
-
-#include <openssl/md4.h>
-#include <openssl/md5.h>
-#include <openssl/sha.h>
-
-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_