sha224 and sha256 implementation + test