Recode to be fast, and to use system integer types. Perhaps if we can find an mdfour implementation already on the system (e.g. in OpenSSL) then we should use it instead of our own?
Apparently rsync 2.4 now has a fast MD4 routine. So we should copy that into here.