2012-08-15 01:26:24 +02:00
|
|
|
#ifndef _LIBCRYPAFFINITY_CODEC_HH
|
|
|
|
#define _LIBCRYPAFFINITY_CODEC_HH
|
2009-01-18 20:48:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include "text.hh"
|
|
|
|
#include "key.hh"
|
2012-08-15 01:26:24 +02:00
|
|
|
#include "cryptaffinity_global.hh"
|
|
|
|
#include "cryptaffinity_iface.hh"
|
2009-01-18 20:48:28 +00:00
|
|
|
|
2012-08-15 01:26:24 +02:00
|
|
|
namespace LibCryptAffinity {
|
2009-01-18 20:48:28 +00:00
|
|
|
class Codec {
|
|
|
|
private:
|
|
|
|
public:
|
|
|
|
Codec();
|
|
|
|
|
|
|
|
virtual Text encode(Text plaintext, Key key);
|
|
|
|
virtual Text decode(Text plaintext, Key key);
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|