Changed hashing to use the hash stream.

[Delivers #59038656]
Self-review.