If there is any security requirement to what you're doing you'd probably be better off using an SHA hash. MD5 is now considered broken for serious security purposes.
"Violence is the last refuge of the incompetent." -- Isaac Asimov "Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up