Use a union instead of casting pointers in OF{MD5,SHA1}Hash.