md5 encryption function - 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 encryption function (
/showthread.php?tid=258604)
md5 encryption function -
ca2k - 31.05.2011
Sorry, I have been searching around wiki but I have not found the part of MD5 encryption, perhaps someone has written about it in here?
Re: md5 encryption function -
ca2k - 31.05.2011
Quote:
Originally Posted by ******
There used to be an MD5 encryption library, but it was since revealed that MD5 is very insecure - standard practice now is to use the Whirlpool plugin for much better encryption strength.
|
I am more into php but if you can tell why GM sends uppercase MD5 encryption or a way how to send normal encryption so my php code will work with the GM I will be thankful
Example if you dont understand what I mean:
md5 Encryption for 'hi' is:
49f68a5c8493ec2c0bf489821c21fc3b
and from our application it comes as:
49F68A5C849EC2C0BF489821C21FC3B
So there comes the problem, php does not think its the same PW.
Yes, I know, I can call strtoupper() on the variable between md5 hashing and storing it but its just so much work and if there is a simple way by changing something in GM its a waste of time.
/or I guess its time to switch to Whirlpool.