mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2025-12-06 18:33:58 -05:00
Updated to follow naming convetions from other ciphers
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user