diff options
author | zyp <zyp@localhost> | 2006-05-08 15:42:12 +0200 |
---|---|---|
committer | zyp <zyp@localhost> | 2006-05-08 15:42:12 +0200 |
commit | 373495b3a1c8ccdcfece70bac69625b6823ccec0 (patch) | |
tree | 69297ccb4179a0cd9a7638f61622b83e4a43712d /src/hash.h | |
parent | 161978b24c8ffdc05795a1ae109fcf76ea7d20d0 (diff) |
[project @ zyp-20060508134212-c2adcf41fc2bca06]
[project @ 26]
Fixing mess in SVN.
Diffstat (limited to 'src/hash.h')
-rw-r--r-- | src/hash.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/hash.h b/src/hash.h deleted file mode 100644 index 3c7b9c9..0000000 --- a/src/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_ |