?? hashset.h
字號:
/*
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();
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -