SA-MP Forums Archive
hashing passwords - 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)
+--- Thread: hashing passwords (/showthread.php?tid=534858)



hashing passwords - sansk - 31.08.2014

Hi guys,

I am making a Roleplay server script from scratch and I can't find out how to hash the stored passwords, and this is obviously a step you don't want to skip.
Can't remember what to search for either (I used to script before..)


Re: hashing passwords - austin070 - 31.08.2014

pawn Code:
MD5_Hash(string[])
Put the .inc file in pawno/include


Re: hashing passwords - sansk - 31.08.2014

Thanks, but how do i use it with SII?


Re: hashing passwords - Stinged - 31.08.2014

MD5 is not secure. Use Whirlpool.
https://sampforum.blast.hk/showthread.php?tid=65290


Re: hashing passwords - sansk - 31.08.2014

Thanks, but I've tried using it, and i just get a "runningerror"..


Re: hashing passwords - sansk - 31.08.2014

I'm getting a Run time error 19 when i try to use whirlpool. Have I not installed it the right way or what?


Re: hashing passwords - Stinged - 31.08.2014

You need to put the .dl (or .so if your on linux) in plugins folder.
Then you need to add Whirlpool to the plugins line in server.cfg


Re: hashing passwords - sansk - 31.08.2014

Thank you! Tried to figure this out for hours..