28 lines
436 B
C++
28 lines
436 B
C++
#ifndef _CRYPTAFINIY_KEYAFINE_HH
|
|
#define _CRYPTAFINIY_KEYAFINE_HH
|
|
|
|
#include "cryptaffinity_global.hh"
|
|
#include "cryptaffinity_iface.hh"
|
|
|
|
#include "key.hh" // declaration
|
|
#include "text.hh" // body
|
|
|
|
namespace LibCryptAffinity {
|
|
class KeyAfine : public Key {
|
|
private:
|
|
int _a;
|
|
int _b;
|
|
|
|
public:
|
|
void setCoefA(int i);
|
|
void setCoefB(int i);
|
|
|
|
int getCoefA();
|
|
int getCoefB();
|
|
|
|
std::string toString();
|
|
};
|
|
}
|
|
|
|
#endif
|