Frage zum Hash

03/05/2012 22:06 .Legolas-#1
was ist den hier der Hash? ich dachte garnichts da ja da alles weg is

PHP Code:
#ifdef __THROUGHPORTAL0810
            
if( m_bThroughPortal )
#else    // __THROUGHPORTAL0810
            
if( m_bHanGame )
#endif    // __THROUGHPORTAL0810
                
strcpy( szKey, szNo );    // 한게임은 이미 암호�* 되어 있음 
            
else
                
HashMD5( szKey, szNo );
            break;
        case 
LANG_ENG:
        case 
LANG_GER:
        case 
LANG_SPA:
        case 
LANG_POR:
        case 
LANG_FRE:
        
//case LANG_VTN: //베트남어는 이미 암호�* 되어 있다.
        
case LANG_RUS:
            
HashMD5( szKey, szNo );
            break;
        case 
LANG_TWN:
        case 
LANG_HK:
        default:
            
strcpy( szKey, szNo );
            break;
        }
    }
    else
    {
        
strcpy( szKey, szNo );
    }
    return 
szKey;
}

#ifdef __TWN_LOGIN0816
void CNeuzApp::SetAccountInfo( LPCTSTR lpszAccount, LPCTSTR lpszpw, LPCTSTR lpszSessionPwd )
#else    // __TWN_LOGIN0816
void CNeuzApp::SetAccountInfo( LPCTSTR lpszAccount, LPCTSTR lpszpw )
#endif    // __TWN_LOGIN0816
{
    
CString strAccount    = lpszAccount;
    
strAccount.TrimLeft();    
    
strAccount.TrimRight();        // TRIM
    
_tcscpy( g_Neuz.m_szAccount, (LPCTSTR)strAccount );
    
_tcslwr( g_Neuz.m_szAccount ); 
03/05/2012 23:10 aldimaster#2
Da liegst du richtig, in diesen Snipped ist kein Has vorhanden.
Schau dir an wo szKey initialisiert wird.

Greetz