26 #ifndef __AUTH__PASSWORD_MODULE_H__INCL__
27 #define __AUTH__PASSWORD_MODULE_H__INCL__
53 const std::string& user,
54 const std::string& pass,
69 const char* user,
size_t userLen,
70 const char* pass,
size_t passLen,
88 const std::vector< uint16 >& user,
89 const std::vector< uint16 >& pass,
108 const uint16* user,
size_t userLen,
109 const uint16* pass,
size_t passLen,
static bool GeneratePassHash(const std::string &user, const std::string &pass, std::string &hash)
Generates a SHA-1 hash from a username and a password.
simple class to handle password hash generation