mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 15:43:54 -07:00
added sha512 password hashing, protocol version 13, server version bump
This commit is contained in:
parent
8344920fdc
commit
53330090fb
6 changed files with 56 additions and 4 deletions
11
servatrice/src/passwordhasher.h
Normal file
11
servatrice/src/passwordhasher.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue