Caesar/caesar.hpp

20 lines
327 B
C++
Raw Permalink Normal View History

#ifndef CAESAR_H
#define CAESAR_H
#include <string>
class Caesar {
public:
Caesar(int rotation);
void setRotation(int rotation);
int getRotation();
char encryptChar(char toEncrypt);
std::string encryptString(std::string toEncrypt);
private:
int rotation;
2024-06-13 22:20:44 +00:00
const int MIN = 32;
const int MAX = 126;
};
#endif