Forum Moderators: coopster

Message Too Old, No Replies

MD5 & Security Questions.

         

Tom_Cash

11:17 pm on Oct 29, 2008 (gmt 0)

10+ Year Member



I've googled the web and this site, but not found what I want to know. So here goes...

1. Is MD5 free?
2. If so, how and where?
3. If not, is there any sort of encryption I can use for free?

Sorry if this sounds really nooby.

Kindest regards,
Tom.

eelixduppy

12:16 am on Oct 30, 2008 (gmt 0)



1. Yes.
2. There are functions available to you to create MD5 hashes. One such PHP function is md5 [php.net].
3. There are others available for you, also. You can use sha1 [php.net], or the mcrypt [us2.php.net] functions, to name a few.

Tom_Cash

12:35 am on Oct 30, 2008 (gmt 0)

10+ Year Member



Thanks for the prompt reply! Very concise!

Sekka

10:15 am on Oct 30, 2008 (gmt 0)

10+ Year Member



Fyi, sha512 is more secure than md5 and sha1.

If your version of PHP allows it, try,

hash("sha512", $string);

Tom_Cash

5:04 pm on Oct 30, 2008 (gmt 0)

10+ Year Member



What version of PHP allows it? Do you know?

jatar_k

5:07 pm on Oct 30, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



MD5 will most likely suit your needs Tom_Cash

Sekka

8:50 am on Oct 31, 2008 (gmt 0)

10+ Year Member



What version of PHP allows it? Do you know?

PHP 5.1.2+

Tom_Cash

9:13 am on Oct 31, 2008 (gmt 0)

10+ Year Member



Thanks peeps. :)