From 0299326957b524547a1fc95b600afad2803c6c82 Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Sat, 5 May 2018 15:23:02 -0400 Subject: [PATCH] Updated documentation --- Headers/Autokey.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 };