Implement md5

I'd put this into the MIDP namespace too, to avoid polluting the global namespace.