Update documentation
Fix python3 compat for the hash_test.
Enforce that Hash takes a HashAlgorithm instance.