server_base: remove orphaned function declarations
Left over from e7a4869c4a
This commit is contained in:
parent
8f7813c7a0
commit
20e61d67ff
1 changed files with 0 additions and 15 deletions
|
@ -123,21 +123,6 @@ public:
|
|||
template<class SocketPtr> void async_send_error(SocketPtr socket, const std::string& msg, const char* error_code = "", const info_table& info = {});
|
||||
template<class SocketPtr> void async_send_warning(SocketPtr socket, const std::string& msg, const char* warning_code = "", const info_table& info = {});
|
||||
|
||||
/**
|
||||
* Create the poor security nonce for use with passwords still hashed with MD5.
|
||||
* Uses 8 random integer digits, 29.8 bits entropy.
|
||||
*
|
||||
* @param length How many random numbers to generate.
|
||||
* @return The nonce to use.
|
||||
*/
|
||||
std::string create_unsecure_nonce(int length = 8);
|
||||
/**
|
||||
* Create a good security nonce for use with bcrypt/crypt_blowfish hashing.
|
||||
* Uses 32 random Base64 characters, cryptographic-strength, 192 bits entropy
|
||||
*
|
||||
* @return The nonce to use.
|
||||
*/
|
||||
std::string create_secure_nonce();
|
||||
/**
|
||||
* Handles hashing the password provided by the player before comparing it to the hashed password in the forum database.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue