use md4 for hash generation

md4 is a tenth faster than md5 when generating hashes, see
http://www.garygolden.me/blog/benchmark-fastest-hash-algorithm-php/