Create a md5 hash out of an object.