Commit ff5b7b77 authored by Jan Möbius's avatar Jan Möbius

Raw Keygen added

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6662 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 41d51fb8
......@@ -249,10 +249,11 @@ bool LicenseManager::authenticate() {
QString saltPost;
ADD_SALT_POST(saltPost);
QString key = coreHash + saltPre + pluginHash + saltPost + macHash;
std::cerr << "Key is: " << key.toStdString() << std::endl;
QString keyClear = coreHash + saltPre + pluginHash + saltPost + macHash;
std::cerr << "keyClear is: " << keyClear.toStdString() << std::endl;
QString key = QCryptographicHash::hash ( keyClear.toAscii() , QCryptographicHash::Sha1 ).toHex();
std::cerr << "key is: " << key.toStdString() << std::endl;
if ( authenticated_ )
std::cerr << "Authentication succcessfull" << std::endl;
......
#include <qapplication.h>
#include <QtGui>
#include <QFile>
int main(int argc, char **argv)
{
QFile bla();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment