tweak md4-related stuff
implement md5 and hmac_md5 without mandatory external modules