sha1 or sha256 are safer than md5.
Not that this is military grade ;)