Updated documentation

This commit is contained in:
2018-05-05 15:23:02 -04:00
parent 88142b384d
commit 0299326957

View File

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