Test `crypto.Hash` digest functions.

Already implemented, but untested. This relates to two open issues in
addition to the issue created for testing.

Closes #45.
Closes #38.
Closes #27.