Implement md5 hash helper.