mirror of
https://github.com/QuasarApp/Qt-Secret.git
synced 2025-04-30 09:34:31 +00:00
34 lines
472 B
C++
34 lines
472 B
C++
|
#include "appcore.h"
|
||
|
|
||
|
AppCore::AppCore(QObject *parent) : QObject(parent)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void AppCore::generateKeys(QRSAEncryption rsa)
|
||
|
{
|
||
|
QRSAEncryption e(rsa);
|
||
|
e.generatePairKey(pubKey, privKey);
|
||
|
emit printKeys(&pubKey, &privKey);
|
||
|
}
|
||
|
|
||
|
void AppCore::encryptData(QByteArray *dataToEncrypt)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void AppCore::decryptData(QByteArray *dataToDecrypt)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void AppCore::signMessage(QByteArray *messageToSign)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void AppCore::checkSign(QByteArray *messageToCheck)
|
||
|
{
|
||
|
|
||
|
}
|