Raise UnsupportedAlgorithm when initing Hash()

Instead of just an AssertionError.
Merge pull request #324 from public/unsupported-hash

Raise UnsupportedAlgorithm when initing Hash()