LCKB
Login Hash - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep4 Support (https://lckb.dev/forum/forumdisplay.php?fid=128)
+----- Thread: Login Hash (/showthread.php?tid=4679)



- peter3301 - 01-09-2017


Hi,

where can i find the password hash function ?
 




- pwesty - 01-09-2017

What exactly are you trying to do, change it?




- peter3301 - 01-09-2017

For example, yes.




- Agility - 01-10-2017



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)




- Karmel - 01-10-2017


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



- peter3301 - 01-10-2017


Thanks a lot Smile

Can be closed.




- Nymphetamine - 01-10-2017

Locked.