Re: [PHP] Is MD5 still considered safe for storing application user passwords?



I would guess that a properly salted hash would still be safe enough for most sites. Just a hash of the password is not enough as there are readily available hash tables where you can look up the password just by supplying the hash.

Sha-1 is a better alternative for hashing but I would still suggest using a salt value.

Bastien

Sent from my iPod

On Dec 30, 2008, at 9:02 PM, Murray <planetthoughtful@xxxxxxxxx> wrote:

Hi All,

I've been vaguely aware that more and more effort is going into proving that
MD5 isn't secure anymore, but this article in particular -
http://www.win.tue.nl/hashclash/rogue-ca/ - has me wondering if MD5 is still
safe for storing hashed user passwords?

I realise that article is talking about a very different use of an attack on
MD5, but I'm curious if other developers are still using MD5, or if another
hashing algorithm is considered better?

Many thanks for any advice,

M is for Murray
http://www.ulblog.org
.



Relevant Pages

  • Re: dentry bloat.
    ... it should be safe to at least do the name hash and parent ... comparison without holding any lock (since even if they are invalidated by ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: dentry bloat.
    ... it should be safe to at least do the name hash and parent ... > comparison without holding any lock (since even if they are invalidated by ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: md5 encryption
    ... >it only one way encryption. ... It's a hashing algorithm, not encryption - information is lost when ... MD5 hash, and MD5 is specifically designed to ...
    (alt.php)
  • Re: if SHA1 and MD5 are cracked...?
    ... > cryptographic applications use hash algorithms for key generation. ... FreeBSD uses MD5 over DES for the /etc/master.password file under the ... PGP and GPG use a hash of the private key passphrase to encrypt ... safe from script kiddies but possibly breakable by government agencies. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Share a read-only std::list between two threads
    ... safety guarantees of simple C types: ... do you have a hash table which cares about ... multiple threads at all makes such guarantee, ...
    (comp.programming.threads)