mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2025-12-06 18:33:58 -05:00
Added version information for all classes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//Ciphers/Headers/Atbash.hpp
|
||||
//Matthew Ellison
|
||||
// Created: 4-30-18
|
||||
//Modified: 5-5-18
|
||||
//Modified: 5-16-18
|
||||
//This file contains the declaration of the Atbash class
|
||||
//This class is used to encode and decode an Atbash cipher
|
||||
|
||||
@@ -15,6 +15,7 @@ class Atbash{
|
||||
private:
|
||||
std::string inputString; //Holds the string that needs encoded or decoded
|
||||
std::string outputString; //Holds the encoded/decoded string
|
||||
static const std::string version; //Holds the current version of the library
|
||||
std::string decode(); //Decodes inputString and stores in outputString
|
||||
std::string encode(); //Encodes inputString and stores in outputString
|
||||
void setInputString(std::string input); //Removes all invalid characters and sets inputString
|
||||
@@ -26,6 +27,7 @@ public:
|
||||
std::string encode(std::string input);
|
||||
std::string decode(std::string input);
|
||||
void reset();
|
||||
static std::string getVersion();
|
||||
};
|
||||
|
||||
#endif //ATBASH_HPP
|
||||
|
||||
Reference in New Issue
Block a user