File checksum hashes the bytes of one file, not the characters you type. Choose the algorithm, drop the file, and read the hex. If you paste an expected checksum, the result is a small report: the checksum you computed and whether it matches, compared in lowercase. A file whose bytes are exactly Odd socks in the dryer. with no extra newline has SHA-256 0e1364279200dba3cce6a88e4ca8c9d0381ab37b8dceb937aff4fc556e0af54e, and an expected field set to that hex reports matches true.
A trailing newline, a UTF-8 BOM or a different line ending changes the digest even when the text looks the same in an editor. That is why the text hasher and the file hasher can disagree about a sentence you typed in one place and saved in another. The expected value is trimmed and lowercased before compare, so a checksum copied with a capital A still matches.
One file only. HMAC is not offered here; the secret field lives on the text hasher. The file is read in the tab.
File note.txt containing Odd socks in the dryer. with no added newline. Hash SHA-256. Expected checksum 0e1364279200dba3cce6a88e4ca8c9d0381ab37b8dceb937aff4fc556e0af54e.
checksum 0e1364279200dba3cce6a88e4ca8c9d0381ab37b8dceb937aff4fc556e0af54e, matches true.
The expected field is the point of a download check. A hex string with no true or false still leaves the comparison to your eyes.
The file includes whatever bytes were saved. A newline at the end is an extra byte. The text page hashes only what is in the box.
No. It is compared in lowercase after trimming. Spaces in the middle of the hex are not removed, so paste the digest as one string.
This page takes one file. A byte-for-byte compare of two files is the file compare tool.
It detects accidental corruption. It is not a strong guarantee against someone who can craft a colliding file. Prefer the publisher’s SHA-256 when they offer one.