diff --git a/Headers/Autokey.hpp b/Headers/Autokey.hpp index 04a9012..5b4d953 100644 --- a/Headers/Autokey.hpp +++ b/Headers/Autokey.hpp @@ -1,7 +1,7 @@ //Ciphers/Headers/Autokey.hpp //Matthew Ellison // Created: 5-2-18 -//Modified: 5-3-18 +//Modified: 5-5-18 //This file contains the declaration of the Autokey class //This class will encode a message using the Autokey cipher @@ -13,14 +13,14 @@ class Autokey : public Vigenere{ protected: - virtual void encodeSetKeyword(std::string& key, std::string input); - virtual void decodeSetKeyword(std::string& key, std::string input); - std::string decode(); + void encodeSet(std::string& key, std::string input); //Special rules for setting the strings for encoding + void decodeSet(std::string& key, std::string input); //Setting the strings for decoding + std::string decode(); //Decodes the inputString public: Autokey(); ~Autokey(); - virtual std::string encode(std::string key, std::string input); - virtual std::string decode(std::string key, std::string input); + virtual std::string encode(std::string key, std::string input); //Encodes inputString using the Autokey cipher + virtual std::string decode(std::string key, std::string input); //Decodes inputString using the Autokey cipher };