rewrote md4.c from scratch. This implementation should be portable and