1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-05-08 20:59:11 +00:00
harbour-sailotp/src/QCipher/src/qcipher.h

25 lines
392 B
C++

#ifndef QCIPHER_H
#define QCIPHER_H
#include <QObject>
#include <QString>
#include "cipher.h"
class QCipher : public QObject
{
Q_OBJECT
public:
explicit QCipher(QObject *parent = nullptr);
Q_INVOKABLE QString encrypt(QString plaintext, QString pass);
Q_INVOKABLE QString decrypt(QString ciphertext, QString pass);
private:
Cipher c;
signals:
};
#endif // QCIPHER_H