Re: Is this unsecure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ruben Rubio wrote:
md5 is unsecure.
Use sha1 ( http://www.php.net/sha1 ) instead
SHA1 has also been partially broken. Until more hash algorithms work their way into PHP, using both md5 and sha1 plus the remote IP as mentioned in a previous email would certainly add to the security of the system.

Personally, I think that md5 is fine for the purpose outlined. I believe that md5's weakness is in that it's possible to generate collisions, so since in this case the original email is known, collisions are less relevant. (They're trying to crack the "password" that is the appended letters, by brute-forcing combinations of "<character group 1><email><character group 2>". It seems to me that collisions don't help. Please correct me if I'm wrong - I'm definitely no cryptographer. ;-)

jon

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux