Credentials_manager/PasswordManager/cryptographer.h
2021-12-24 14:50:15 +03:00

24 lines
438 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 key);
QString encrypt(QString message);
QString decrypt(QString message);
private:
QString key;
};
#endif // CRYPTOGRAPHER_H