f_hash() and endianess