Urgh, I bloody hate hashing!
#9

Moglizorz, here's a little example.

SELECT MD5("dsadaddaddsadad");

How can you simulate that in PAWN using format?

Or, are you too lazy?

pawn Код:
format(Query, sizeof(Query), "SELECT * FROM phpbb_users WHERE username = '%s' AND user_password = MD5('%s%s')", Escape[0], inputtext, salt);
Reply


Messages In This Thread
Urgh, I bloody hate hashing! - by Moglizorz. - 12.11.2010, 17:23
Re: Urgh, I bloody hate hashing! - by DRIFT_HUNTER - 12.11.2010, 17:30
Re: Urgh, I bloody hate hashing! - by Moglizorz. - 12.11.2010, 17:33
Re: Urgh, I bloody hate hashing! - by The_Moddler - 12.11.2010, 17:35
Re: Urgh, I bloody hate hashing! - by Westie - 12.11.2010, 17:41
Re: Urgh, I bloody hate hashing! - by Moglizorz. - 12.11.2010, 17:41
Re: Urgh, I bloody hate hashing! - by The_Moddler - 12.11.2010, 17:53
Re: Urgh, I bloody hate hashing! - by Moglizorz. - 12.11.2010, 20:14
Re: Urgh, I bloody hate hashing! - by Westie - 12.11.2010, 20:53

Forum Jump:


Users browsing this thread: 4 Guest(s)