When calculating hashes, does cryptographic hash functions scan all streams, sections i;e:metadata, header etc of file before producing checksum?