24 lines
415 B
C++
24 lines
415 B
C++
#ifndef CRYPTOGRAPHER_H
|
|
#define CRYPTOGRAPHER_H
|
|
|
|
#include <QString>
|
|
#include <crypto++/aes.h>
|
|
#include <crypto++/modes.h>
|
|
#include <crypto++/filters.h>
|
|
#include <crypto++/hex.h>
|
|
#include <crypto++/sha.h>
|
|
#include <crypto++/md5.h>
|
|
|
|
|
|
class Cryptographer
|
|
{
|
|
public:
|
|
Cryptographer();
|
|
QString encrypt(QString message);
|
|
QString decrypt(QString message);
|
|
private:
|
|
QString key;
|
|
};
|
|
|
|
#endif // CRYPTOGRAPHER_H
|