ENH: MD5 API improved