One invisible byte difference produces a different digest
Line endings, Unicode normalization, text encoding, a byte-order mark, trailing newline, and trim settings all affect the result. For file verification, hash the original bytes rather than copied text. Record the algorithm and full digest together because a checksum without its algorithm is ambiguous.