Added support for sha224, sha385, sha512 and ripemd160 hashes.
Updated tests for hashes.