SA-MP Forums Archive
Changing hashing method from WP to MD5. - 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: Changing hashing method from WP to MD5. (/showthread.php?tid=189238)



Changing hashing method from WP to MD5. - Moglizorz. - 10.11.2010

Hey there guys,

Basically to put it simply, I'm trying to change this from WP hashing to MD5.
https://sampforum.blast.hk/showthread.php?tid=178387

I've messed around, but I just can't get the hang of it.

Would appreciate any help I can get,
Ryan


Re: Changing hashing method from WP to MD5. - rs.pect - 10.11.2010

Whirlpool is from plugin?

Then I would remove the WP_Hash native and write this function:
pawn Код:
WP_Hash(buffer[], len, const str[])
{
    buffer = MD5(str);
    // it depends which MD5 script you've got
}



Re: Changing hashing method from WP to MD5. - Moglizorz. - 10.11.2010

Open to suggestions for MD5 plugin, not immensely experienced in it.


Re: Changing hashing method from WP to MD5. - bigcomfycouch - 10.11.2010

I am not sure why you would want to downgrade your hashing algorithm.