Qt-Secret/Qt-Secret-GUI/secretworker.cpp

11 lines
245 B
C++
Raw Normal View History

#include "secretworker.h"
SecretWorker::SecretWorker(QObject *parent) : QObject(parent)
{}
void SecretWorker::generateKeys(int rsa)
{
QRSAEncryption::generatePairKeyS(pubKey, privKey, QRSAEncryption::Rsa(rsa));
emit showKeysOnQml();
}