#include <qcryptographichash> crypto(Q_UINT64_C(0x0c2ad4a4acb9f053)); //some random number QString testString("sample"); QString result = crypto.encryptToString(testString); QString decrypted = crypto.decryptToString(result); qDebug() << testString << endl<< result << endl << decrypted;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)