mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2025-12-07 10:43:59 -05:00
32 lines
651 B
C++
32 lines
651 B
C++
//Ciphers/Headers/Atbash.hpp
|
|
//Matthew Ellison
|
|
// Created: 4-30-18
|
|
//Modified: 4-30-18
|
|
//This file contains the declaration of the Atbash class
|
|
//This class is used to encode and decode an Atbash cipher
|
|
|
|
#ifndef ATBASH_HPP
|
|
#define ATBASH_HPP
|
|
|
|
#include <string>
|
|
|
|
|
|
class Atbash{
|
|
private:
|
|
std::string inputString;
|
|
std::string outputString;
|
|
public:
|
|
Atbash();
|
|
~Atbash();
|
|
void setInputString(std::string input);
|
|
std::string getInputString() const;
|
|
std::string getOutputString() const;
|
|
std::string encode();
|
|
std::string encode(std::string input);
|
|
std::string decode();
|
|
std::string decode(std::string input);
|
|
void reset();
|
|
};
|
|
|
|
#endif //ATBASH_HPP
|