hash provides a way to hash binary data, i.e. produce a shorter value, that is highly content dependent, so even slightly different content will produce widely different hashes.
hash
Hash functions are useful for implementing maps, caches etc.