22 lines
352 B
C++
22 lines
352 B
C++
#ifndef SECRET_H
|
|
#define SECRET_H
|
|
|
|
#include <QString>
|
|
#include <QByteArray>
|
|
#include <QDate>
|
|
#include <QDebug>
|
|
#include <QCryptographicHash>
|
|
class Secret
|
|
{
|
|
public:
|
|
Secret();
|
|
~Secret();
|
|
QByteArray getEncodeString(const QString& str);
|
|
QString getDecodeString(const QByteArray& code);
|
|
private:
|
|
char* secretkey;
|
|
|
|
};
|
|
|
|
#endif // SECRET_H
|