I've got a problem. I been using MD5 hash as the name for images, but it's too damn long. What would you guys suggest as a shorter alternative solution?
If your database can't handle a 128-bit number, I suggest you move to another, stat.
That said, you really ought to be using a non-broken hashing algorithm for any new application.