Solution to issue #6

This commit is contained in:
amazing-username
2017-08-12 17:02:43 -05:00
parent c1d17799cd
commit 353a1dfef1
10 changed files with 186 additions and 48 deletions
+6 -2
View File
@@ -10,7 +10,8 @@ class Encryption : public Cryption
public:
Encryption() = default;
~Encryption() = default;
Encryption(const std::string&);
//Encryption(const std::string&);
explicit Encryption(const std::string&, const std::string&);
void setEncryptedMessage(const std::string&);
void setMessage(const std::string&) override;
@@ -20,8 +21,11 @@ public:
std::string getMessage() const override;
std::map<char, std::string> encryptedCharactersStructure();
private:
void setupMap();
void setupMap(const std::string&);
void configurePasswordFileName();
bool repetitive();
std::string encryptedMessage;
std::string passwordFileName;
std::map<char, std::string> encryptedCharacters;
};
#endif