Hashes the essential components of the digest by feeding them into the given hash function.
Mac Catalyst 13.0+
The hash function to use when combining the components of the digest.
This method is part of the digest’s conformance to Swift standard library’s Hashable protocol, making it possible to compare digests. Don’t confuse that hashing with the cryptographically secure hashing that you use to create the digest in the first place by, for example, calling hash(data:).