Credentials_manager/PasswordManager/cryptographer.h
2021-12-18 12:32:48 +03:00

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