Hopping around from languages to languages, its easy to forget how to do something, nothing that a quick Google search can’t help with but I wanted to make this posting for myself to save some time. MD5 is used all over the place, its a one way hash that can be used for checking the integrity of files, storing passwords in databases and checking text being passed around. I do want to add a note here about using MD5 hashes for storing passwords in a database, I would start by looking at SHA-1 along with using salt this will help ensure if anyone gets a hold of your database they can just use rainbow table to workout the plain text of the password.