Removed both redundant inheritance of CryptoHash enum and values assign to cases.
Merge pull request #3 from tomkowz/fork-master

Removed both redundant inheritance of CryptoHash enum and assigned values to cases