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
|
//Ciphers/Headers/Playfair.hpp
|
||||||
//Matthew Ellison
|
//Matthew Ellison
|
||||||
// Created: 4-25-18
|
// Created: 4-25-18
|
||||||
//Modified: 4-25-18
|
//Modified: 5-5-18
|
||||||
//This file contains the declaration of the Playfair class
|
//This file contains the declaration of the Playfair class
|
||||||
//It is designed to encrypt and decrypt strings using the Playfair cipher
|
//It is designed to encrypt and decrypt strings using the Playfair cipher
|
||||||
|
|
||||||
@@ -24,20 +24,20 @@ private:
|
|||||||
void createGrid();
|
void createGrid();
|
||||||
bool checkGrid(const char letter) const;
|
bool checkGrid(const char letter) const;
|
||||||
void searchGrid(char letter, int& row, int& col);
|
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:
|
public:
|
||||||
Playfair();
|
Playfair();
|
||||||
~Playfair();
|
~Playfair();
|
||||||
void reset();
|
|
||||||
std::string encode();
|
|
||||||
std::string encode(std::string keyword, std::string input);
|
std::string encode(std::string keyword, std::string input);
|
||||||
std::string decode();
|
|
||||||
std::string decode(std::string keyword, std::string input);
|
std::string decode(std::string keyword, std::string input);
|
||||||
void setKeyword(std::string key);
|
|
||||||
std::string getKeyword() const;
|
std::string getKeyword() const;
|
||||||
void setInputString(std::string input);
|
|
||||||
std::string getInputString() const;
|
std::string getInputString() const;
|
||||||
std::string getOutputString() const;
|
std::string getOutputString() const;
|
||||||
std::string getGrid() const;
|
std::string getGrid() const;
|
||||||
|
void reset();
|
||||||
//Change static variables
|
//Change static variables
|
||||||
static char getReplaced();
|
static char getReplaced();
|
||||||
static void setReplaced(const char replaced);
|
static void setReplaced(const char replaced);
|
||||||
|
|||||||
Reference in New Issue
Block a user