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
//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
};