@huonw: I just copied over what `IterBytes` was doing in order to generate the same hash as the old `Hash`.