]> git.sesse.net Git - freerainbowtables/blobdiff - Client Applications/rcracki_mt/HashSet.h
remove old deprecated rcracki
[freerainbowtables] / Client Applications / rcracki_mt / HashSet.h
index 746bb72347e3c4b8cc69b81180564740a81b0281..17ed1292c80776dba2621d59a7fd54ad325b873b 100644 (file)
@@ -1,40 +1,59 @@
-/*
-   RainbowCrack - a general propose implementation of Philippe Oechslin's faster time-memory trade-off technique.
-
-   Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>
-*/
-
-#ifndef _HASHSET_H
-#define _HASHSET_H
-
-#include "Public.h"
-
-class CHashSet
-{
-public:
-       CHashSet();
-       virtual ~CHashSet();
-
-private:
-       vector<string> m_vHash;
-       vector<bool>   m_vFound;
-       vector<string> m_vPlain;
-       vector<string> m_vBinary;
-
-public:
-       void AddHash(string sHash);             // lowercase, len % 2 == 0, MIN_HASH_LEN * 2 <= len <= MAX_HASH_LEN * 2
-       bool AnyhashLeft();
-       bool AnyHashLeftWithLen(int nLen);
-       void GetLeftHashWithLen(vector<string>& vHash, int nLen);
-       
-       void SetPlain(string sHash, string sPlain, string sBinary);
-       bool GetPlain(string sHash, string& sPlain, string& sBinary);
-
-       int GetStatHashFound();
-       int GetStatHashTotal();
-
-       string GetHashInfo(int i);
-       void AddHashInfo(string sHash, bool found, string sPlain, string sBinary);
-};
-
-#endif
+/*\r
+ * rcracki_mt is a multithreaded implementation and fork of the original \r
+ * RainbowCrack\r
+ *\r
+ * Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>\r
+ * Copyright Martin Westergaard Jørgensen <martinwj2005@gmail.com>\r
+ * Copyright 2009, 2010 Daniël Niggebrugge <niggebrugge@fox-it.com>\r
+ * Copyright 2009, 2010 James Nobis <frt@quelrod.net>\r
+ *\r
+ * This file is part of racrcki_mt.\r
+ *\r
+ * rcracki_mt is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation, either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * rcracki_mt is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with rcracki_mt.  If not, see <http://www.gnu.org/licenses/>.\r
+ */\r
+\r
+#ifndef _HASHSET_H\r
+#define _HASHSET_H\r
+\r
+#include "Public.h"\r
+\r
+class CHashSet\r
+{\r
+public:\r
+       CHashSet();\r
+       virtual ~CHashSet();\r
+\r
+private:\r
+       vector<string> m_vHash;\r
+       vector<bool>   m_vFound;\r
+       vector<string> m_vPlain;\r
+       vector<string> m_vBinary;\r
+\r
+public:\r
+       void AddHash(string sHash);             // lowercase, len % 2 == 0, MIN_HASH_LEN * 2 <= len <= MAX_HASH_LEN * 2\r
+       bool AnyhashLeft();\r
+       bool AnyHashLeftWithLen(int nLen);\r
+       void GetLeftHashWithLen(vector<string>& vHash, int nLen);\r
+       \r
+       void SetPlain(string sHash, string sPlain, string sBinary);\r
+       bool GetPlain(string sHash, string& sPlain, string& sBinary);\r
+\r
+       int GetStatHashFound();\r
+       int GetStatHashTotal();\r
+\r
+       string GetHashInfo(int i);\r
+       void AddHashInfo(string sHash, bool found, string sPlain, string sBinary);\r
+};\r
+\r
+#endif\r