hashing byte slices and io.Readers