mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2025-12-06 18:33:58 -05:00
Updated the member availability
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user