Updated to follow naming convetions from other ciphers

This commit is contained in:
2018-05-05 15:43:42 -04:00
parent e03b6ae6fe
commit bd9e66f176
2 changed files with 27 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
//Ciphers/Headers/Caesar.hpp
//Matthew Ellison
// Created: 4-25-18
//Modified: 4-25-18
//Modified: 5-5-18
//This file contains the declaration of the Caesar class
//This class implements the Caesar Cipher and is inteded to be turned into a library
@@ -13,17 +13,17 @@
class Caesar{
private:
std::string input;
std::string output;
std::string inputString;
std::string outputString;
int shift;
public:
Caesar();
~Caesar();
void setInput(std::string inputString);
std::string getInput() const;
void setInputString(std::string inputString);
std::string getInputString() const;
void setShift(int shiftAmount);
int getShift() const;
std::string getOutput() const;
std::string getOutputString() const;
std::string encode();
std::string encode(int shiftAmount, std::string inputString);
std::string decode();