2 RainbowCrack - a general propose implementation of Philippe Oechslin's faster time-memory trade-off technique.
4 Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>
19 vector<string> m_vHash;
20 vector<bool> m_vFound;
21 vector<string> m_vPlain;
22 vector<string> m_vBinary;
25 void AddHash(string sHash); // lowercase, len % 2 == 0, MIN_HASH_LEN * 2 <= len <= MAX_HASH_LEN * 2
27 bool AnyHashLeftWithLen(int nLen);
28 void GetLeftHashWithLen(vector<string>& vHash, int nLen);
30 void SetPlain(string sHash, string sPlain, string sBinary);
31 bool GetPlain(string sHash, string& sPlain, string& sBinary);
33 int GetStatHashFound();
34 int GetStatHashTotal();