Hashing finds changes; encryption hides messages
Hashing turns data into a fixed-length fingerprint and is useful for checking whether the data has changed. Encryption hides information but can be reversed with the right key. The two tools protect information in different ways.