Use this to tests Digest d with given input data and reference hashes.
expected hashes
AssertionError if generated hash != expected hash
See Implementation
Use this to tests Digest d with given input data and reference hashes.