From ed122085a927e5a253616c45158eab4cec6b5df9 Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Sat, 5 May 2018 16:38:25 -0400 Subject: [PATCH] Updated the member availability --- Headers/Playfair.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Headers/Playfair.hpp b/Headers/Playfair.hpp index 07fc81e..691537c 100644 --- a/Headers/Playfair.hpp +++ b/Headers/Playfair.hpp @@ -1,7 +1,7 @@ //Ciphers/Headers/Playfair.hpp //Matthew Ellison // Created: 4-25-18 -//Modified: 4-25-18 +//Modified: 5-5-18 //This file contains the declaration of the Playfair class //It is designed to encrypt and decrypt strings using the Playfair cipher @@ -24,20 +24,20 @@ private: void createGrid(); bool checkGrid(const char letter) const; void searchGrid(char letter, int& row, int& col); + void setInputString(std::string input); + void setKeyword(std::string key); + std::string encode(); + std::string decode(); public: Playfair(); ~Playfair(); - void reset(); - std::string encode(); std::string encode(std::string keyword, std::string input); - std::string decode(); std::string decode(std::string keyword, std::string input); - void setKeyword(std::string key); std::string getKeyword() const; - void setInputString(std::string input); std::string getInputString() const; std::string getOutputString() const; std::string getGrid() const; + void reset(); //Change static variables static char getReplaced(); static void setReplaced(const char replaced);