Fix bugs with sha-224 and sha-384 hashes

test and compile
v0.1.7