Login Hash
#1

Hi,

where can i find the password hash function ?
 

#2
What exactly are you trying to do, change it?

#3
For example, yes.

#4


Engine\Base\md5.h

void md5_buffer(const char *buffer, const unsigned int buf_len,
void *signature);

 

This one was used in old client but still a nice example if you wanna encrypt your password in client side. (recommended)

Engine\Interface\UILogin.cpp

md5_buffer(m_strUserPW, m_strUserPW.Length(), tmpPass);
Current LC uses ShareLib in server side to encrypt a password (Client -> Clean Password Packet (_pNetwork->SendLoginMessage) -> Server -> Encrypt)

#5

ShareLib\CheckPassword.cpp
bool CCheckPassword::checkPass(const std:Confusedtring& pass, const std:Confusedtring& dbpass)
#6

Thanks a lot Smile

Can be closed.

#7
Locked.



Forum Jump:


Users browsing this thread: 1 Guest(s)