DDraceNetwork Docs
authmanager.cpp File Reference
#include "authmanager.h"
#include <base/hash_ctxt.h>
#include <base/system.h>
#include <engine/shared/config.h>
#include <game/generated/protocol.h>
Include dependency graph for authmanager.cpp:

Macros

#define ADMIN_IDENT   "default_admin"
 
#define MOD_IDENT   "default_mod"
 
#define HELPER_IDENT   "default_helper"
 

Functions

static MD5_DIGEST HashPassword (const char *pPassword, const unsigned char aSalt[8])
 

Macro Definition Documentation

◆ ADMIN_IDENT

#define ADMIN_IDENT   "default_admin"

◆ HELPER_IDENT

#define HELPER_IDENT   "default_helper"

◆ MOD_IDENT

#define MOD_IDENT   "default_mod"

Function Documentation

◆ HashPassword()

static MD5_DIGEST HashPassword ( const char *  pPassword,
const unsigned char  aSalt[8] 
)
static