added sha512 password hashing, protocol version 13, server version bump

This commit is contained in:
cockatrice 2011-09-21 13:12:08 +00:00
parent 8344920fdc
commit 53330090fb
6 changed files with 56 additions and 4 deletions

View file

@ -0,0 +1,11 @@
#ifndef PASSWORDHASHER_H
#define PASSWORDHASHER_H
#include <QObject>
class PasswordHasher {
public:
static QString computeHash(const QString &password, const QString &salt);
};
#endif