#ifndef HILLCYPHER_H
#define HILLCYPHER_H
#include <cstdlib>
#include <string>
class hillcypher
{
private:
std::string keyword;
std::string TextEncode;
std::string RegString;
std::string finalString;
int ToNum(char x);
int ToChar(int x);
int gcd(int a, int b);
int mod(int a, int b);
int Determinant(int a[][2]);
public:
hillcypher(std::string a, std::string b);
void DecriptText();
std::string EncriptFunc(int a[2][2], int b[2][1]);
std::string FinalTextEncoded();
};
#endif // HILLCYPHER_H