Checks if the provided hash matches the computed hash of the provided data.
The hash to check against.
The hashing format to use.
The data to hash and compare.
true if the hashes match, false otherwise.
Checks if the provided hash matches the computed hash of the provided data.