SA-MP Forums Archive
MD5 hashing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MD5 hashing (/showthread.php?tid=165987)



MD5 hashing - actiwe - 06.08.2010

I'd like to hash to strings. So my encryption must be:
md5(md5(string1).md5(string2))

Stuck at the last move. Need some help. Thanks


Re: MD5 hashing - Daren_Jacobson - 06.08.2010

format(string, sizeof(string), "%s.%s", md5(md5(string1), md5(string2)));

string will have your encrypted stuff.


Re: MD5 hashing - actiwe - 06.08.2010

Ahh yea, I'm dumb, thanks :P