Refractoring
This commit is contained in:
+6
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#include<fstream>
|
||||
#include<string>
|
||||
|
||||
#include<map>
|
||||
#include"Cryption.h"
|
||||
|
||||
class Encryption : public Cryption
|
||||
@@ -14,11 +14,16 @@ public:
|
||||
Encryption(const std::string&);
|
||||
|
||||
void setEncryptedMessage(const std::string&);
|
||||
void setMessage(const std::string&) override;
|
||||
void encryptMessage();
|
||||
|
||||
std::string getEncryptedMessage() const;
|
||||
std::string getMessage() const override;
|
||||
std::map<char, std::string> encryptedCharactersStructure();
|
||||
private:
|
||||
void setupMap();
|
||||
std::string encryptedMessage;
|
||||
std::map<char, std::string> encryptedCharacters;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user