View Full Version : php hash functions
jseweb
04-04-2007, 09:41 PM
Sorry for double posting this, buy I realized that I may have posted in the wrong section.
Hi, I was wondering if unlimitedmb.com is ever going to get the hash functions that are supported in php 5.1.2 and up? I would like to use a stronger encryption for passwords using the sha256, sha384, or the sha512. The hash function I am looking for is hash( "sha512", $string ) and the others it comes with.
Thanks,
BluCow
UnlimitedMB
04-04-2007, 10:23 PM
We have php 5.2 so according to the php manual it should be available.
jseweb
04-05-2007, 12:09 AM
Hi, I realize that the function should be there; however, if you display all of the defined functions, it is not in the list. If you follow the link below, it will print out all of the functions that are available to the users.
http://stratego.ulmb.com/get.php
Thanks,
Justin
UnlimitedMB
04-05-2007, 12:18 AM
This module is not enabled.
You can use md5() or sha1() to hash passwords which is sufficient.
jseweb
04-05-2007, 12:37 AM
Hi, the reason I want to the other ones is because md5 and sha1 has been hacked and i do not feel safe using them at all. Is there a way you could just enable it?
Thanks,
Justin
UnlimitedMB
04-05-2007, 02:28 AM
md5 and sha1 have not been hacked, yes there has been vulnerabilities found but for the purposes of password hashing on websites they are still secure.
Remember: if the hacker can read the md5's from your mysql database, its already too late.
jseweb
04-05-2007, 02:38 AM
See, the thing is, I don't always use mysql for everything I want to do. I just do not see why the function cannot be enabled for people that want to use it.
Thanks anyway,
Justin
jseweb
04-05-2007, 04:56 PM
I was just curious if you guys were going to enable the hash functions for people that want to use them?
Thanks,
Justin
arenlor
04-05-2007, 05:43 PM
MD5 and SHA1 should be sufficient, as the other hash's are just as easily broken.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.