www.pudn.com > CipherSystem.rar > KeyWordCipherSystem.h


#ifndef KEYWORD_CIPHER_SYSTEM_H 
#define KEYWORD_CIPHER_SYSTEM_H 
 
#include "MyCipherSystem.h" 
 
class KeyWordEncryptSystem : public EncryptSystem 
{ 
 
public: 
	KeyWordEncryptSystem(); 
 
	bool GetKey(std::string& str, char start = 'a'); 
	void Encrypt(); 
	void Decrypt(); 
 
	char encryptArray[26]; 
private: 
	bool markArray[26]; 
	char decryptArray[26]; 
};///:p 
 
 
#endif//KEYWORD_CIPHER_SYSTEM_H