mirror of
https://github.com/QuasarApp/Qt-Secret.git
synced 2025-05-04 11:19:33 +00:00
11 lines
245 B
C++
11 lines
245 B
C++
|
#include "secretworker.h"
|
||
|
|
||
|
SecretWorker::SecretWorker(QObject *parent) : QObject(parent)
|
||
|
{}
|
||
|
|
||
|
void SecretWorker::generateKeys(int rsa)
|
||
|
{
|
||
|
QRSAEncryption::generatePairKeyS(pubKey, privKey, QRSAEncryption::Rsa(rsa));
|
||
|
emit showKeysOnQml();
|
||
|
}
|