Updated to fix errors with not clearing strings during encoding/decoding

This commit is contained in:
2018-05-14 13:46:37 -04:00
parent dc85d6b5bc
commit c8c56ef159
4 changed files with 10 additions and 5 deletions

View File

@@ -14,8 +14,8 @@
//TODO: Might be able to make encoding and decoding faster for longer messages by actually using a grid of alphabets (Caesar Ciphers)
class Autokey : public Vigenere{
protected:
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
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();